driverserver

package
v0.0.0-...-68b20d9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRPCService

func RegisterRPCService(lc logger.LoggingClient, dic *di.Container, s *grpc.Server)

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) 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 (*DriverDeviceServer) CreateDevice

func (*DriverDeviceServer) DeleteDevice

func (*DriverDeviceServer) DisconnectIotPlatform

func (*DriverDeviceServer) GetDeviceConnectStatus

func (*DriverDeviceServer) QueryDeviceById

func (*DriverDeviceServer) QueryDeviceList

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 (*DriverStorageServer) Delete

func (*DriverStorageServer) Get

func (*DriverStorageServer) Put

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) 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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL