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. ******************************************************************************
******************************************************************************
- 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 ¶
- func RegisterRPCService(lc logger.LoggingClient, dic *di.Container, s *grpc.Server)
- type CloudInstanceServer
- func (s *CloudInstanceServer) DriverReportPlatformInfo(ctx context.Context, request *cloudinstance.DriverReportPlatformInfoRequest) (*cloudinstance.DriverReportPlatformInfoResponse, error)
- func (s *CloudInstanceServer) QueryCloudInstanceByPlatform(ctx context.Context, ...) (*cloudinstance.QueryCloudInstanceByPlatformResponse, error)
- func (s *CloudInstanceServer) RegisterServer(server *grpc.Server)
- type DriverDeviceServer
- func (s *DriverDeviceServer) ConnectIotPlatform(ctx context.Context, request *device.ConnectIotPlatformRequest) (*device.ConnectIotPlatformResponse, error)
- func (s *DriverDeviceServer) CreateDevice(ctx context.Context, request *device.CreateDeviceRequest) (*device.CreateDeviceRequestResponse, error)
- func (s *DriverDeviceServer) CreateDeviceAndConnect(ctx context.Context, request *device.CreateDeviceAndConnectRequest) (*device.CreateDeviceAndConnectRequestResponse, error)
- func (s *DriverDeviceServer) DeleteDevice(ctx context.Context, request *device.DeleteDeviceRequest) (*device.DeleteDeviceResponse, error)
- func (s *DriverDeviceServer) DisconnectIotPlatform(ctx context.Context, request *device.DisconnectIotPlatformRequest) (*device.DisconnectIotPlatformResponse, error)
- func (s *DriverDeviceServer) GetDeviceConnectStatus(ctx context.Context, request *device.GetDeviceConnectStatusRequest) (*device.GetDeviceConnectStatusResponse, error)
- func (s *DriverDeviceServer) QueryDeviceById(ctx context.Context, request *device.QueryDeviceByIdRequest) (*device.QueryDeviceByIdResponse, error)
- func (s *DriverDeviceServer) QueryDeviceList(ctx context.Context, request *device.QueryDeviceListRequest) (*device.QueryDeviceListResponse, error)
- func (s *DriverDeviceServer) RegisterServer(server *grpc.Server)
- type DriverStorageServer
- func (s *DriverStorageServer) All(ctx context.Context, req *driverstorage.AllReq) (*driverstorage.KVs, error)
- func (s *DriverStorageServer) Delete(ctx context.Context, req *driverstorage.DeleteReq) (*emptypb.Empty, error)
- func (s *DriverStorageServer) Get(ctx context.Context, req *driverstorage.GetReq) (*driverstorage.KVs, error)
- func (s *DriverStorageServer) Put(ctx context.Context, req *driverstorage.PutReq) (*emptypb.Empty, error)
- func (s *DriverStorageServer) RegisterServer(server *grpc.Server)
- type GatewayServer
- type ProductServer
- func (s *ProductServer) QueryProductById(ctx context.Context, request *driverproduct.QueryProductByIdRequest) (*driverproduct.QueryProductByIdResponse, error)
- func (s *ProductServer) QueryProductList(ctx context.Context, request *driverproduct.QueryProductListRequest) (*driverproduct.QueryProductListResponse, error)
- func (s *ProductServer) RegisterServer(server *grpc.Server)
- type ThingModelServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRPCService ¶
Types ¶
type CloudInstanceServer ¶
type CloudInstanceServer struct { cloudinstance.UnimplementedCloudInstanceServiceServer // contains filtered or unexported fields }
func NewCloudInstanceServer ¶
func NewCloudInstanceServer(lc logger.LoggingClient, dic *di.Container) *CloudInstanceServer
func (*CloudInstanceServer) DriverReportPlatformInfo ¶
func (s *CloudInstanceServer) DriverReportPlatformInfo(ctx context.Context, request *cloudinstance.DriverReportPlatformInfoRequest) (*cloudinstance.DriverReportPlatformInfoResponse, error)
func (*CloudInstanceServer) QueryCloudInstanceByPlatform ¶
func (s *CloudInstanceServer) QueryCloudInstanceByPlatform(ctx context.Context, request *cloudinstance.QueryCloudInstanceByPlatformRequest) (*cloudinstance.QueryCloudInstanceByPlatformResponse, error)
func (*CloudInstanceServer) RegisterServer ¶
func (s *CloudInstanceServer) RegisterServer(server *grpc.Server)
type DriverDeviceServer ¶
type DriverDeviceServer struct { device.UnimplementedRpcDeviceServer // contains filtered or unexported fields }
func NewDriverDeviceServer ¶
func NewDriverDeviceServer(lc logger.LoggingClient, dic *di.Container) *DriverDeviceServer
func (*DriverDeviceServer) ConnectIotPlatform ¶
func (s *DriverDeviceServer) ConnectIotPlatform(ctx context.Context, request *device.ConnectIotPlatformRequest) (*device.ConnectIotPlatformResponse, error)
func (*DriverDeviceServer) CreateDevice ¶
func (s *DriverDeviceServer) CreateDevice(ctx context.Context, request *device.CreateDeviceRequest) (*device.CreateDeviceRequestResponse, error)
func (*DriverDeviceServer) CreateDeviceAndConnect ¶
func (s *DriverDeviceServer) CreateDeviceAndConnect(ctx context.Context, request *device.CreateDeviceAndConnectRequest) (*device.CreateDeviceAndConnectRequestResponse, error)
func (*DriverDeviceServer) DeleteDevice ¶
func (s *DriverDeviceServer) DeleteDevice(ctx context.Context, request *device.DeleteDeviceRequest) (*device.DeleteDeviceResponse, error)
func (*DriverDeviceServer) DisconnectIotPlatform ¶
func (s *DriverDeviceServer) DisconnectIotPlatform(ctx context.Context, request *device.DisconnectIotPlatformRequest) (*device.DisconnectIotPlatformResponse, error)
func (*DriverDeviceServer) GetDeviceConnectStatus ¶
func (s *DriverDeviceServer) GetDeviceConnectStatus(ctx context.Context, request *device.GetDeviceConnectStatusRequest) (*device.GetDeviceConnectStatusResponse, error)
func (*DriverDeviceServer) QueryDeviceById ¶
func (s *DriverDeviceServer) QueryDeviceById(ctx context.Context, request *device.QueryDeviceByIdRequest) (*device.QueryDeviceByIdResponse, error)
func (*DriverDeviceServer) QueryDeviceList ¶
func (s *DriverDeviceServer) QueryDeviceList(ctx context.Context, request *device.QueryDeviceListRequest) (*device.QueryDeviceListResponse, error)
func (*DriverDeviceServer) RegisterServer ¶
func (s *DriverDeviceServer) RegisterServer(server *grpc.Server)
type DriverStorageServer ¶
type DriverStorageServer struct { driverstorage.UnimplementedDriverStorageServer // contains filtered or unexported fields }
func NewDriverStorageServer ¶
func NewDriverStorageServer(lc logger.LoggingClient, dic *di.Container) *DriverStorageServer
func (*DriverStorageServer) All ¶
func (s *DriverStorageServer) All(ctx context.Context, req *driverstorage.AllReq) (*driverstorage.KVs, error)
func (*DriverStorageServer) Delete ¶
func (s *DriverStorageServer) Delete(ctx context.Context, req *driverstorage.DeleteReq) (*emptypb.Empty, error)
func (*DriverStorageServer) Get ¶
func (s *DriverStorageServer) Get(ctx context.Context, req *driverstorage.GetReq) (*driverstorage.KVs, error)
func (*DriverStorageServer) Put ¶
func (s *DriverStorageServer) Put(ctx context.Context, req *driverstorage.PutReq) (*emptypb.Empty, error)
func (*DriverStorageServer) RegisterServer ¶
func (s *DriverStorageServer) RegisterServer(server *grpc.Server)
type GatewayServer ¶
type GatewayServer struct { gateway.UnimplementedRpcGatewayServer // contains filtered or unexported fields }
func NewGatewayServer ¶
func NewGatewayServer(lc logger.LoggingClient, dic *di.Container) *GatewayServer
func (*GatewayServer) GetGatewayInfo ¶
func (s *GatewayServer) GetGatewayInfo(ctx context.Context, empty *emptypb.Empty) (*gateway.GateWayInfoResponse, error)
func (*GatewayServer) RegisterServer ¶
func (s *GatewayServer) RegisterServer(server *grpc.Server)
type ProductServer ¶
type ProductServer struct { driverproduct.UnimplementedRpcProductServer // contains filtered or unexported fields }
func NewProductServer ¶
func NewProductServer(lc logger.LoggingClient, dic *di.Container) *ProductServer
func (*ProductServer) QueryProductById ¶
func (s *ProductServer) QueryProductById(ctx context.Context, request *driverproduct.QueryProductByIdRequest) (*driverproduct.QueryProductByIdResponse, error)
func (*ProductServer) QueryProductList ¶
func (s *ProductServer) QueryProductList(ctx context.Context, request *driverproduct.QueryProductListRequest) (*driverproduct.QueryProductListResponse, error)
func (*ProductServer) RegisterServer ¶
func (s *ProductServer) RegisterServer(server *grpc.Server)
type ThingModelServer ¶
type ThingModelServer struct { thingmodel.UnimplementedThingModelUpServiceServer // contains filtered or unexported fields }
func NewThingModelServer ¶
func NewThingModelServer(lc logger.LoggingClient, dic *di.Container) *ThingModelServer
func (*ThingModelServer) RegisterServer ¶
func (s *ThingModelServer) RegisterServer(server *grpc.Server)
func (*ThingModelServer) ThingModelMsgReport ¶
func (s *ThingModelServer) ThingModelMsgReport(ctx context.Context, msg *thingmodel.ThingModelMsg) (response *drivercommon.CommonResponse, err error)
Click to show internal directories.
Click to hide internal directories.