// PrepareForCreate receives the incoming ServiceClass.
PrepareForCreate receives the incoming ServiceClass.
// PrepareForCreate receives the incoming ServiceClass .
func (serviceClassRESTStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object) {
	serviceClass, ok := obj.(*sc.ServiceClass)
	if !ok {
		glog.Fatal("received a non-serviceclass object to create")
	}
	serviceClass.Status = sc.ServiceClassStatus{}
}
func ( serviceClassRESTStrategy ) PrepareForCreate ( ctx context . Context , obj runtime . Object ) { serviceClass , ok := obj . ( * sc . ServiceClass ) if ! ok { glog . Fatal ( " " ) } serviceClass . Status = sc . ServiceClassStatus { } }
PrepareForCreate receives the incoming ServiceClass.
PrepareForCreate receives the incoming ServiceClass .