Documentation ¶
Overview ¶
******************************************************************************
- Copyright 2017 Dell Inc.
- Copyright (c) 2019 Intel Corporation *
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- in compliance with the License. You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software distributed under the License
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- or implied. See the License for the specific language governing permissions and limitations under
- the License. ******************************************************************************
******************************************************************************
- Copyright 2017 Dell Inc.
- Copyright (c) 2019 Intel Corporation *
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- in compliance with the License. You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software distributed under the License
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- or implied. See the License for the specific language governing permissions and limitations under
- the License. ******************************************************************************
******************************************************************************
- Copyright 2017 Dell Inc.
- Copyright (c) 2019 Intel Corporation *
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- in compliance with the License. You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software distributed under the License
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- or implied. See the License for the specific language governing permissions and limitations under
- the License. ******************************************************************************
******************************************************************************
- Copyright 2017 Dell Inc.
- Copyright (c) 2019 Intel Corporation *
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- in compliance with the License. You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software distributed under the License
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- or implied. See the License for the specific language governing permissions and limitations under
- the License. ******************************************************************************
******************************************************************************
- Copyright 2017 Dell Inc.
- Copyright (c) 2019 Intel Corporation *
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- in compliance with the License. You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software distributed under the License
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- or implied. See the License for the specific language governing permissions and limitations under
- the License. ******************************************************************************
******************************************************************************
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- in compliance with the License. You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software distributed under the License
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- or implied. See the License for the specific language governing permissions and limitations under
- the License. ******************************************************************************
******************************************************************************
- Copyright 2017 Dell Inc.
- Copyright (c) 2019 Intel Corporation *
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- in compliance with the License. You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software distributed under the License
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- or implied. See the License for the specific language governing permissions and limitations under
- the License. ******************************************************************************
******************************************************************************
- Copyright 2017 Dell Inc.
- Copyright (c) 2019 Intel Corporation *
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- in compliance with the License. You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software distributed under the License
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- or implied. See the License for the specific language governing permissions and limitations under
- the License. ******************************************************************************
******************************************************************************
- Copyright 2017 Dell Inc.
- Copyright (c) 2019 Intel Corporation *
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- in compliance with the License. You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software distributed under the License
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- or implied. See the License for the specific language governing permissions and limitations under
- the License. ******************************************************************************
******************************************************************************
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- in compliance with the License. You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software distributed under the License
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- or implied. See the License for the specific language governing permissions and limitations under
- the License. ******************************************************************************
******************************************************************************
- Copyright 2017 Dell Inc.
- Copyright (c) 2019 Intel Corporation *
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- in compliance with the License. You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software distributed under the License
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- or implied. See the License for the specific language governing permissions and limitations under
- the License. ******************************************************************************
******************************************************************************
- Copyright 2017 Dell Inc.
- Copyright (c) 2019 Intel Corporation *
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- in compliance with the License. You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software distributed under the License
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- or implied. See the License for the specific language governing permissions and limitations under
- the License. ******************************************************************************
******************************************************************************
- Copyright 2017 Dell Inc.
- Copyright (c) 2019 Intel Corporation *
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
- in compliance with the License. You may obtain a copy of the License at *
- http://www.apache.org/licenses/LICENSE-2.0 *
- Unless required by applicable law or agreed to in writing, software distributed under the License
- is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- or implied. See the License for the specific language governing permissions and limitations under
- the License. ******************************************************************************
Index ¶
- Constants
- type Client
- func (c *Client) AbilityByCode(model interface{}, code, productId string) (interface{}, error)
- func (c *Client) AddAlertList(alertRule models.AlertList) (models.AlertList, error)
- func (c *Client) AddAlertRule(alertRule models.AlertRule) (models.AlertRule, error)
- func (c *Client) AddDataResource(dateResource models.DataResource) (string, error)
- func (c *Client) AddDevice(ds models.Device) (deviceId string, edgeXErr error)
- func (c *Client) AddDeviceLibrary(dl models.DeviceLibrary) (models.DeviceLibrary, error)
- func (c *Client) AddDeviceService(ds models.DeviceService) (models.DeviceService, error)
- func (c *Client) AddLanguageSdk(ls models.LanguageSdk) (language models.LanguageSdk, edgeXErr error)
- func (c *Client) AddMqttAuthInfo(auth models.MqttAuth) (string, error)
- func (c *Client) AddMsgGather(msgGather models.MsgGather) error
- func (c *Client) AddOrUpdateAuth(auth models.MqttAuth) error
- func (c *Client) AddProduct(ds models.Product) (product models.Product, edgeXErr error)
- func (c *Client) AddRuleEngine(ruleEngine models.RuleEngine) (string, error)
- func (c *Client) AddScene(scene models.Scene) (models.Scene, error)
- func (c *Client) AddSceneLog(sceneLog models.SceneLog) (models.SceneLog, error)
- func (c *Client) AddThingModelAction(ds models.Actions) (models.Actions, error)
- func (c *Client) AddThingModelEvent(ds models.Events) (models.Events, error)
- func (c *Client) AddThingModelProperty(ds models.Properties) (models.Properties, error)
- func (c *Client) AddUser(u models.User) (models.User, error)
- func (c *Client) AddUsers(users []models.User) error
- func (c *Client) AlertIgnore(id string) (edgeXErr error)
- func (c *Client) AlertListLastSend(alertRuleId string) (alertList models.AlertList, edgeXErr error)
- func (c *Client) AlertListSearch(offset int, limit int, req dtos.AlertSearchQueryRequest) (alertList []dtos.AlertSearchQueryResponse, total uint32, edgeXErr error)
- func (c *Client) AlertPlate(beforeTime int64) (plate []dtos.AlertPlateQueryResponse, err error)
- func (c *Client) AlertRuleById(id string) (models.AlertRule, error)
- func (c *Client) AlertRuleSearch(offset int, limit int, req dtos.AlertRuleSearchQueryRequest) (alertRules []models.AlertRule, total uint32, edgeXErr error)
- func (c *Client) AlertRuleStart(id string) error
- func (c *Client) AlertRuleStop(id string) error
- func (c *Client) AssociationsDeleteProductObject(product models.Product) error
- func (c *Client) AssociationsUpdateProduct(ds models.Product) error
- func (c *Client) BatchBindDevice(ids []string, driverInstanceId string) error
- func (c *Client) BatchDeleteActions(actionIds []string) error
- func (c *Client) BatchDeleteDevice(ids []string) error
- func (c *Client) BatchDeleteEvents(eventIds []string) error
- func (c *Client) BatchDeleteProduct(products []models.Product) error
- func (c *Client) BatchDeleteProperties(propertiesIds []string) error
- func (c *Client) BatchDeleteSystemActions() error
- func (c *Client) BatchDeleteSystemEvents() error
- func (c *Client) BatchDeleteSystemProperties() error
- func (c *Client) BatchInsertSystemActions(p []models.Actions) (int64, error)
- func (c *Client) BatchInsertSystemEvents(p []models.Events) (int64, error)
- func (c *Client) BatchInsertSystemProperties(p []models.Properties) (int64, error)
- func (c *Client) BatchSaveProduct(p []models.Product) error
- func (c *Client) BatchUnBindDevice(ids []string) error
- func (c *Client) BatchUpsertCategoryTemplate(p []models.CategoryTemplate) (int64, error)
- func (c *Client) BatchUpsertDevice(p []models.Device) (int64, error)
- func (c *Client) BatchUpsertDocsTemplate(ds []models.Doc) (int64, error)
- func (c *Client) BatchUpsertProduct(p []models.Product) (int64, error)
- func (c *Client) BatchUpsertQuickNavigationTemplate(ds []models.QuickNavigation) (int64, error)
- func (c *Client) BatchUpsertThingModel(ds interface{}) (int64, error)
- func (c *Client) BatchUpsertThingModelTemplate(p []models.ThingModelTemplate) (int64, error)
- func (c *Client) BatchUpsertUnitTemplate(p []models.Unit) (int64, error)
- func (c *Client) CategoryTemplateById(id string) (models.CategoryTemplate, error)
- func (c *Client) CategoryTemplateSearch(offset int, limit int, req dtos.CategoryTemplateRequest) ([]models.CategoryTemplate, uint32, error)
- func (c *Client) CloseSession()
- func (c *Client) DataResourceById(id string) (models.DataResource, error)
- func (c *Client) DelDataResource(id string) error
- func (c *Client) DeleteAlertRuleById(id string) error
- func (c *Client) DeleteDeviceByCloudInstanceId(id string) error
- func (c *Client) DeleteDeviceById(id string) error
- func (c *Client) DeleteDeviceLibraryById(id string) error
- func (c *Client) DeleteDeviceServiceById(id string) error
- func (c *Client) DeleteProductById(id string) error
- func (c *Client) DeleteProductObject(product models.Product) error
- func (c *Client) DeleteQuickNavigation(id string) error
- func (c *Client) DeleteRuleEngineById(id string) error
- func (c *Client) DeleteSceneById(id string) error
- func (c *Client) DeviceByCloudId(id string) (device models.Device, edgeXErr error)
- func (c *Client) DeviceById(id string) (device models.Device, edgeXErr error)
- func (c *Client) DeviceLibrariesSearch(offset int, limit int, req dtos.DeviceLibrarySearchQueryRequest) (deviceLibraries []models.DeviceLibrary, total uint32, edgeXErr error)
- func (c *Client) DeviceLibraryById(id string) (deviceLibrary models.DeviceLibrary, edgeXErr error)
- func (c *Client) DeviceMqttAuthInfo(id string) (device models.MqttAuth, edgeXErr error)
- func (c *Client) DeviceOfflineByCloudInstanceId(id string) (edgeXErr error)
- func (c *Client) DeviceOfflineById(id string) (edgeXErr error)
- func (c *Client) DeviceOnlineById(id string) (edgeXErr error)
- func (c *Client) DeviceServiceById(id string) (deviceService models.DeviceService, edgeXErr error)
- func (c *Client) DeviceServicesSearch(offset int, limit int, req dtos.DeviceServiceSearchQueryRequest) (deviceServices []models.DeviceService, total uint32, edgeXErr error)
- func (c *Client) DevicesSearch(offset int, limit int, req dtos.DeviceSearchQueryRequest) (devices []models.Device, total uint32, edgeXErr error)
- func (c *Client) DockerConfigAdd(dc models.DockerConfig) (models.DockerConfig, error)
- func (c *Client) DockerConfigById(id string) (models.DockerConfig, error)
- func (c *Client) DockerConfigDelete(id string) error
- func (c *Client) DockerConfigUpdate(dc models.DockerConfig) error
- func (c *Client) DockerConfigsSearch(offset int, limit int, req dtos.DockerConfigSearchQueryRequest) (dcs []models.DockerConfig, total uint32, edgeXErr error)
- func (c *Client) DocsSearch(offset int, limit int, req dtos.DocsSearchQueryRequest) (docs []models.Doc, total uint32, edgeXErr error)
- func (c *Client) DriverClassifySearch(offset int, limit int, req dtos.DriverClassifyQueryRequest) (dcs []models.DriverClassify, total uint32, edgeXErr error)
- func (c *Client) DriverMqttAuthInfo(id string) (device models.MqttAuth, edgeXErr error)
- func (c *Client) GetAdvanceConfig() (models.AdvanceConfig, error)
- func (c *Client) GetAllUser() ([]models.User, error)
- func (c *Client) GetDBInstance() *gorm.DB
- func (c *Client) GetSystemMetrics(start, end int64) ([]dtos.SystemMetrics, error)
- func (c *Client) GetUserByUserName(username string) (models.User, error)
- func (c *Client) LanguageSdkByName(name string) (cloudService models.LanguageSdk, edgeXErr error)
- func (c *Client) LanguageSearch(offset int, limit int, req dtos.LanguageSDKSearchQueryRequest) (languages []models.LanguageSdk, count uint32, edgeXErr error)
- func (c *Client) MsgGatherSearch(offset int, limit int, req dtos.MsgGatherSearchQueryRequest) (dcs []models.MsgGather, count uint32, edgeXErr error)
- func (c *Client) MsgReportDeviceById(id string) (device models.Device, edgeXErr error)
- func (c *Client) ProductByCloudId(id string) (product models.Product, edgeXErr error)
- func (c *Client) ProductById(id string) (product models.Product, edgeXErr error)
- func (c *Client) ProductsSearch(offset int, limit int, preload bool, req dtos.ProductSearchQueryRequest) (products []models.Product, total uint32, edgeXErr error)
- func (c *Client) QuickNavigationSearch(offset int, limit int, req dtos.QuickNavigationSearchQueryRequest) (quickNavigations []models.QuickNavigation, total uint32, edgeXErr error)
- func (c *Client) RemoveRangeSystemMetrics(min, max string) error
- func (c *Client) RuleEngineById(id string) (ruleEngine models.RuleEngine, edgeXErr error)
- func (c *Client) RuleEngineSearch(offset int, limit int, req dtos.RuleEngineSearchQueryRequest) (ruleEngine []models.RuleEngine, count uint32, edgeXErr error)
- func (c *Client) RuleEngineStart(id string) error
- func (c *Client) RuleEngineStop(id string) error
- func (c *Client) SceneById(id string) (models.Scene, error)
- func (c *Client) SceneLogSearch(offset int, limit int, req dtos.SceneLogSearchQueryRequest) (sceneLogs []models.SceneLog, total uint32, edgeXErr error)
- func (c *Client) SceneSearch(offset int, limit int, req dtos.SceneSearchQueryRequest) (scenes []models.Scene, total uint32, edgeXErr error)
- func (c *Client) SceneStart(id string) error
- func (c *Client) SceneStop(id string) error
- func (c *Client) SearchDataResource(offset int, limit int, req dtos.DataResourceSearchQueryRequest) (dataResource []models.DataResource, count uint32, edgeXErr error)
- func (c *Client) SystemThingModelSearch(modelType string, ModelName string) (interface{}, error)
- func (c *Client) ThingModelActionsById(id string) (models.Actions, error)
- func (c *Client) ThingModelDeleteAction(id string) error
- func (c *Client) ThingModelDeleteEvent(id string) error
- func (c *Client) ThingModelDeleteProperty(id string) error
- func (c *Client) ThingModelEventById(id string) (models.Events, error)
- func (c *Client) ThingModelPropertyById(id string) (models.Properties, error)
- func (c *Client) ThingModelTemplateByCategoryKey(categoryKey string) (models.ThingModelTemplate, error)
- func (c *Client) ThingModelTemplateSearch(offset int, limit int, req dtos.ThingModelTemplateRequest) ([]models.ThingModelTemplate, uint32, error)
- func (c *Client) TreatedIgnore(id, message string) (edgeXErr error)
- func (c *Client) UnitSearch(offset int, limit int, req dtos.UnitRequest) ([]models.Unit, uint32, error)
- func (c *Client) UpdateAdvanceConfig(config models.AdvanceConfig) error
- func (c *Client) UpdateAlertRule(rule models.AlertRule) error
- func (c *Client) UpdateDataResource(dateResource models.DataResource) error
- func (c *Client) UpdateDataResourceHealth(id string, health bool) error
- func (c *Client) UpdateDevice(ds models.Device) error
- func (c *Client) UpdateDeviceLibrary(dl models.DeviceLibrary) error
- func (c *Client) UpdateDeviceService(ds models.DeviceService) error
- func (c *Client) UpdateLanguageSdk(ls models.LanguageSdk) error
- func (c *Client) UpdateProduct(ds models.Product) error
- func (c *Client) UpdateRuleEngine(ruleEngine models.RuleEngine) error
- func (c *Client) UpdateScene(scene models.Scene) error
- func (c *Client) UpdateSystemMetrics(metrics dtos.SystemMetrics) error
- func (c *Client) UpdateThingModelAction(ds models.Actions) error
- func (c *Client) UpdateThingModelEvent(ds models.Events) error
- func (c *Client) UpdateThingModelProperty(ds models.Properties) error
- func (c *Client) UpdateUser(u models.User) error
Constants ¶
const ( // url中请求参数有判断真假的 SearchReqBoolTrue = "true" SearchReqBoolFalse = "false" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewClient ¶
func NewClient(config dtos.Configuration, lc logger.LoggingClient) (c *Client, errEdgeX error)
func (*Client) AbilityByCode ¶
func (*Client) AddAlertList ¶
func (*Client) AddAlertRule ¶
func (*Client) AddDataResource ¶
func (c *Client) AddDataResource(dateResource models.DataResource) (string, error)
func (*Client) AddDeviceLibrary ¶
func (c *Client) AddDeviceLibrary(dl models.DeviceLibrary) (models.DeviceLibrary, error)
func (*Client) AddDeviceService ¶
func (c *Client) AddDeviceService(ds models.DeviceService) (models.DeviceService, error)
func (*Client) AddLanguageSdk ¶
func (c *Client) AddLanguageSdk(ls models.LanguageSdk) (language models.LanguageSdk, edgeXErr error)
func (*Client) AddMqttAuthInfo ¶
func (*Client) AddProduct ¶
func (*Client) AddRuleEngine ¶
func (c *Client) AddRuleEngine(ruleEngine models.RuleEngine) (string, error)
func (*Client) AddSceneLog ¶
func (*Client) AddThingModelAction ¶
func (*Client) AddThingModelEvent ¶
func (*Client) AddThingModelProperty ¶
func (c *Client) AddThingModelProperty(ds models.Properties) (models.Properties, error)
func (*Client) AlertIgnore ¶
func (*Client) AlertListLastSend ¶
func (*Client) AlertListSearch ¶
func (c *Client) AlertListSearch(offset int, limit int, req dtos.AlertSearchQueryRequest) (alertList []dtos.AlertSearchQueryResponse, total uint32, edgeXErr error)
func (*Client) AlertPlate ¶
func (c *Client) AlertPlate(beforeTime int64) (plate []dtos.AlertPlateQueryResponse, err error)
func (*Client) AlertRuleSearch ¶
func (*Client) AlertRuleStart ¶
func (*Client) AlertRuleStop ¶
func (*Client) AssociationsDeleteProductObject ¶
func (*Client) AssociationsUpdateProduct ¶
func (*Client) BatchBindDevice ¶
func (*Client) BatchDeleteActions ¶
func (*Client) BatchDeleteDevice ¶
func (*Client) BatchDeleteEvents ¶
func (*Client) BatchDeleteProduct ¶
func (*Client) BatchDeleteProperties ¶
func (*Client) BatchDeleteSystemActions ¶
func (*Client) BatchDeleteSystemEvents ¶
func (*Client) BatchDeleteSystemProperties ¶
func (*Client) BatchInsertSystemActions ¶
func (*Client) BatchInsertSystemEvents ¶
func (*Client) BatchInsertSystemProperties ¶
func (c *Client) BatchInsertSystemProperties(p []models.Properties) (int64, error)
func (*Client) BatchUnBindDevice ¶
func (*Client) BatchUpsertCategoryTemplate ¶
func (c *Client) BatchUpsertCategoryTemplate(p []models.CategoryTemplate) (int64, error)
func (*Client) BatchUpsertDevice ¶
func (*Client) BatchUpsertDocsTemplate ¶
func (*Client) BatchUpsertProduct ¶
func (*Client) BatchUpsertQuickNavigationTemplate ¶
func (c *Client) BatchUpsertQuickNavigationTemplate(ds []models.QuickNavigation) (int64, error)
func (*Client) BatchUpsertThingModel ¶
func (*Client) BatchUpsertThingModelTemplate ¶
func (c *Client) BatchUpsertThingModelTemplate(p []models.ThingModelTemplate) (int64, error)
func (*Client) BatchUpsertUnitTemplate ¶
func (*Client) CategoryTemplateById ¶
func (c *Client) CategoryTemplateById(id string) (models.CategoryTemplate, error)
func (*Client) CategoryTemplateSearch ¶
func (c *Client) CategoryTemplateSearch(offset int, limit int, req dtos.CategoryTemplateRequest) ([]models.CategoryTemplate, uint32, error)
func (*Client) CloseSession ¶
func (c *Client) CloseSession()
CloseSession closes the connections to Redis
func (*Client) DataResourceById ¶
func (c *Client) DataResourceById(id string) (models.DataResource, error)
func (*Client) DelDataResource ¶
func (*Client) DeleteAlertRuleById ¶
func (*Client) DeleteDeviceByCloudInstanceId ¶
func (*Client) DeleteDeviceById ¶
func (*Client) DeleteDeviceLibraryById ¶
func (*Client) DeleteDeviceServiceById ¶
func (*Client) DeleteProductById ¶
func (*Client) DeleteProductObject ¶
func (*Client) DeleteQuickNavigation ¶
func (*Client) DeleteRuleEngineById ¶
func (*Client) DeleteSceneById ¶
func (*Client) DeviceByCloudId ¶
func (*Client) DeviceById ¶
func (*Client) DeviceLibrariesSearch ¶
func (c *Client) DeviceLibrariesSearch(offset int, limit int, req dtos.DeviceLibrarySearchQueryRequest) (deviceLibraries []models.DeviceLibrary, total uint32, edgeXErr error)
func (*Client) DeviceLibraryById ¶
func (c *Client) DeviceLibraryById(id string) (deviceLibrary models.DeviceLibrary, edgeXErr error)
func (*Client) DeviceMqttAuthInfo ¶
func (*Client) DeviceOfflineByCloudInstanceId ¶
func (*Client) DeviceOfflineById ¶
func (*Client) DeviceOnlineById ¶
func (*Client) DeviceServiceById ¶
func (c *Client) DeviceServiceById(id string) (deviceService models.DeviceService, edgeXErr error)
func (*Client) DeviceServicesSearch ¶
func (c *Client) DeviceServicesSearch(offset int, limit int, req dtos.DeviceServiceSearchQueryRequest) (deviceServices []models.DeviceService, total uint32, edgeXErr error)
func (*Client) DevicesSearch ¶
func (*Client) DockerConfigAdd ¶
func (c *Client) DockerConfigAdd(dc models.DockerConfig) (models.DockerConfig, error)
func (*Client) DockerConfigById ¶
func (c *Client) DockerConfigById(id string) (models.DockerConfig, error)
func (*Client) DockerConfigDelete ¶
func (*Client) DockerConfigUpdate ¶
func (c *Client) DockerConfigUpdate(dc models.DockerConfig) error
func (*Client) DockerConfigsSearch ¶
func (c *Client) DockerConfigsSearch(offset int, limit int, req dtos.DockerConfigSearchQueryRequest) (dcs []models.DockerConfig, total uint32, edgeXErr error)
func (*Client) DocsSearch ¶
func (*Client) DriverClassifySearch ¶
func (c *Client) DriverClassifySearch(offset int, limit int, req dtos.DriverClassifyQueryRequest) (dcs []models.DriverClassify, total uint32, edgeXErr error)
func (*Client) DriverMqttAuthInfo ¶
func (*Client) GetAdvanceConfig ¶
func (c *Client) GetAdvanceConfig() (models.AdvanceConfig, error)
func (*Client) GetDBInstance ¶
func (*Client) GetSystemMetrics ¶
func (c *Client) GetSystemMetrics(start, end int64) ([]dtos.SystemMetrics, error)
func (*Client) GetUserByUserName ¶
func (*Client) LanguageSdkByName ¶
func (c *Client) LanguageSdkByName(name string) (cloudService models.LanguageSdk, edgeXErr error)
func (*Client) LanguageSearch ¶
func (c *Client) LanguageSearch(offset int, limit int, req dtos.LanguageSDKSearchQueryRequest) (languages []models.LanguageSdk, count uint32, edgeXErr error)
func (*Client) MsgGatherSearch ¶
func (*Client) MsgReportDeviceById ¶
func (*Client) ProductByCloudId ¶
func (*Client) ProductById ¶
func (*Client) ProductsSearch ¶
func (*Client) QuickNavigationSearch ¶
func (c *Client) QuickNavigationSearch(offset int, limit int, req dtos.QuickNavigationSearchQueryRequest) (quickNavigations []models.QuickNavigation, total uint32, edgeXErr error)
func (*Client) RemoveRangeSystemMetrics ¶
func (*Client) RuleEngineById ¶
func (c *Client) RuleEngineById(id string) (ruleEngine models.RuleEngine, edgeXErr error)
func (*Client) RuleEngineSearch ¶
func (c *Client) RuleEngineSearch(offset int, limit int, req dtos.RuleEngineSearchQueryRequest) (ruleEngine []models.RuleEngine, count uint32, edgeXErr error)
func (*Client) RuleEngineStart ¶
func (*Client) RuleEngineStop ¶
func (*Client) SceneLogSearch ¶
func (*Client) SceneSearch ¶
func (*Client) SceneStart ¶
func (*Client) SearchDataResource ¶
func (c *Client) SearchDataResource(offset int, limit int, req dtos.DataResourceSearchQueryRequest) (dataResource []models.DataResource, count uint32, edgeXErr error)
func (*Client) SystemThingModelSearch ¶
func (*Client) ThingModelActionsById ¶
func (*Client) ThingModelDeleteAction ¶
func (*Client) ThingModelDeleteEvent ¶
func (*Client) ThingModelDeleteProperty ¶
func (*Client) ThingModelEventById ¶
func (*Client) ThingModelPropertyById ¶
func (c *Client) ThingModelPropertyById(id string) (models.Properties, error)
func (*Client) ThingModelTemplateByCategoryKey ¶
func (c *Client) ThingModelTemplateByCategoryKey(categoryKey string) (models.ThingModelTemplate, error)
func (*Client) ThingModelTemplateSearch ¶
func (c *Client) ThingModelTemplateSearch(offset int, limit int, req dtos.ThingModelTemplateRequest) ([]models.ThingModelTemplate, uint32, error)
func (*Client) TreatedIgnore ¶
func (*Client) UnitSearch ¶
func (*Client) UpdateAdvanceConfig ¶
func (c *Client) UpdateAdvanceConfig(config models.AdvanceConfig) error
func (*Client) UpdateDataResource ¶
func (c *Client) UpdateDataResource(dateResource models.DataResource) error
func (*Client) UpdateDataResourceHealth ¶
func (*Client) UpdateDeviceLibrary ¶
func (c *Client) UpdateDeviceLibrary(dl models.DeviceLibrary) error
func (*Client) UpdateDeviceService ¶
func (c *Client) UpdateDeviceService(ds models.DeviceService) error
func (*Client) UpdateLanguageSdk ¶
func (c *Client) UpdateLanguageSdk(ls models.LanguageSdk) error
func (*Client) UpdateRuleEngine ¶
func (c *Client) UpdateRuleEngine(ruleEngine models.RuleEngine) error
func (*Client) UpdateSystemMetrics ¶
func (c *Client) UpdateSystemMetrics(metrics dtos.SystemMetrics) error
func (*Client) UpdateThingModelAction ¶
func (*Client) UpdateThingModelEvent ¶
func (*Client) UpdateThingModelProperty ¶
func (c *Client) UpdateThingModelProperty(ds models.Properties) error
Source Files ¶
- alertrule.go
- category.go
- client.go
- config.go
- dataresource.go
- device.go
- devicelibrary.go
- deviceservice.go
- dockerconfig.go
- docs.go
- driverclassify.go
- language.go
- monitor.go
- msggather.go
- product.go
- quicknavagation.go
- ruleengine.go
- scene.go
- thingmodel.go
- thingmodeltemplate.go
- thinkmodel.go
- unit.go
- user.go