func()

in mock/platform/mock_platform_service.go [128:153]


func (_m *PlatformService) GetDeploymentSSHPort(gerrit *v1.Gerrit) (int32, error) {
	ret := _m.Called(gerrit)

	if len(ret) == 0 {
		panic("no return value specified for GetDeploymentSSHPort")
	}

	var r0 int32
	var r1 error
	if rf, ok := ret.Get(0).(func(*v1.Gerrit) (int32, error)); ok {
		return rf(gerrit)
	}
	if rf, ok := ret.Get(0).(func(*v1.Gerrit) int32); ok {
		r0 = rf(gerrit)
	} else {
		r0 = ret.Get(0).(int32)
	}

	if rf, ok := ret.Get(1).(func(*v1.Gerrit) error); ok {
		r1 = rf(gerrit)
	} else {
		r1 = ret.Error(1)
	}

	return r0, r1
}