core.go 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. // Copyright 2022 EMQ Technologies Co., Ltd.
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. //go:build core
  15. // +build core
  16. package server
  17. func pluginReset() {
  18. }
  19. func pluginExport() map[string]string {
  20. return nil
  21. }
  22. func pluginStatusExport() map[string]string {
  23. return nil
  24. }
  25. func pluginImport(plugins map[string]string) error {
  26. return nil
  27. }
  28. func portablePluginsReset() {
  29. }
  30. func portablePluginExport() map[string]string {
  31. return nil
  32. }
  33. func portablePluginStatusExport() map[string]string {
  34. return nil
  35. }
  36. func portablePluginImport(plugins map[string]string) {
  37. }
  38. func serviceReset() {
  39. }
  40. func serviceExport() map[string]string {
  41. return nil
  42. }
  43. func serviceStatusExport() map[string]string {
  44. return nil
  45. }
  46. func serviceImport(services map[string]string) {
  47. }
  48. func schemaReset() {
  49. }
  50. func schemaExport() map[string]string {
  51. return nil
  52. }
  53. func schemaStatusExport() map[string]string {
  54. return nil
  55. }
  56. func schemaImport(s map[string]string) error {
  57. return nil
  58. }
  59. func pluginPartialImport(plugins map[string]string) map[string]string {
  60. return nil
  61. }
  62. func schemaPartialImport(s map[string]string) map[string]string {
  63. return nil
  64. }
  65. func portablePluginPartialImport(plugins map[string]string) map[string]string {
  66. return nil
  67. }
  68. func servicePartialImport(services map[string]string) map[string]string {
  69. return serviceManager.ImportPartialServices(services)
  70. }
  71. func getSchemaInstallScript(s string) (string, string) {
  72. return "", ""
  73. }