core.go 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. // Copyright 2022-2023 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 && !plugin && !portable && !service && !schema
  15. package server
  16. func pluginReset() {
  17. }
  18. func pluginExport() map[string]string {
  19. return nil
  20. }
  21. func pluginStatusExport() map[string]string {
  22. return nil
  23. }
  24. func pluginImport(plugins map[string]string) error {
  25. return nil
  26. }
  27. func portablePluginsReset() {
  28. }
  29. func portablePluginExport() map[string]string {
  30. return nil
  31. }
  32. func portablePluginStatusExport() map[string]string {
  33. return nil
  34. }
  35. func portablePluginImport(plugins map[string]string) map[string]string {
  36. return nil
  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) map[string]string {
  47. return nil
  48. }
  49. func schemaReset() {
  50. }
  51. func schemaExport() map[string]string {
  52. return nil
  53. }
  54. func schemaStatusExport() map[string]string {
  55. return nil
  56. }
  57. func schemaImport(s map[string]string) error {
  58. return nil
  59. }
  60. func pluginPartialImport(plugins map[string]string) map[string]string {
  61. return nil
  62. }
  63. func schemaPartialImport(s map[string]string) map[string]string {
  64. return nil
  65. }
  66. func portablePluginPartialImport(plugins map[string]string) map[string]string {
  67. return nil
  68. }
  69. func servicePartialImport(services map[string]string) map[string]string {
  70. return nil
  71. }
  72. func getSchemaInstallScript(s string) (string, string) {
  73. return "", ""
  74. }