// ConvertToVersion provides a mock function with given fields: in, gv
ConvertToVersion provides a mock function with given fields: in, gv
// ConvertToVersion provides a mock function with given fields : in gv
func (_m *ObjectConvertor) ConvertToVersion(in runtime.Object, gv runtime.GroupVersioner) (runtime.Object, error) {
	ret := _m.Called(in, gv)
	var r0 runtime.Object
	if rf, ok := ret.Get(0).(func(runtime.Object, runtime.GroupVersioner) runtime.Object); ok {
		r0 = rf(in, gv)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(runtime.Object)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(runtime.Object, runtime.GroupVersioner) error); ok {
		r1 = rf(in, gv)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func ( _m * ObjectConvertor ) ConvertToVersion ( in runtime . Object , gv runtime . GroupVersioner ) ( runtime . Object , error ) { ret := _m . Called ( in , gv ) var r0 runtime . Object if rf , ok := ret . Get ( 0 ) . ( func ( runtime . Object , runtime . GroupVersioner ) runtime . Object ) ; ok { r0 = rf ( in , gv ) } else { if ret . Get ( 0 ) != nil { r0 = ret . Get ( 0 ) . ( runtime . Object ) } } var r1 error if rf , ok := ret . Get ( 1 ) . ( func ( runtime . Object , runtime . GroupVersioner ) error ) ; ok { r1 = rf ( in , gv ) } else { r1 = ret . Error ( 1 ) } return r0 , r1 }
ConvertToVersion provides a mock function with given fields: in, gv
ConvertToVersion provides a mock function with given fields : in gv