metathings_deviced_service

package
v1.1.25-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: MIT Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KIND_DEVICE = "deviced:device"
	KIND_MODULE = "deviced:module"
	KIND_FLOW   = "deviced:flow"

	RESOURCE_TYPE_FLOW    = "flow"
	RESOURCE_TYPE_FLOWSET = "flowset"
)

Variables

View Source
var (
	ErrUnexpectedMessage = errors.New("unexpected message")
	ErrDuplicatedDevice  = errors.New("duplicated device")
	ErrUnconnectedDevice = errors.New("unconnected device")
	ErrFlowNotFound      = errors.New("flow not found")
	ErrDeviceOffline     = errors.New("device offline")

	ErrPutObjectStreamingTimeout = errors.New("put object streaming timeout")
)

Functions

Types

type MetathingsDevicedService

type MetathingsDevicedService struct {
	grpc_auth.ServiceAuthFuncOverride
	// contains filtered or unexported fields
}

func (*MetathingsDevicedService) AddFlowsToFlowSet added in v1.1.23

func (self *MetathingsDevicedService) AddFlowsToFlowSet(ctx context.Context, req *pb.AddFlowsToFlowSetRequest) (*empty.Empty, error)

func (*MetathingsDevicedService) AuthorizeAddFlowsToFlowSet added in v1.1.23

func (self *MetathingsDevicedService) AuthorizeAddFlowsToFlowSet(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) AuthorizeDeleteDevice

func (self *MetathingsDevicedService) AuthorizeDeleteDevice(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) AuthorizeDeleteFlowSet added in v1.1.23

func (self *MetathingsDevicedService) AuthorizeDeleteFlowSet(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) AuthorizeGetDevice

func (self *MetathingsDevicedService) AuthorizeGetDevice(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) AuthorizeGetDeviceByModule added in v0.100.0

func (self *MetathingsDevicedService) AuthorizeGetDeviceByModule(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) AuthorizeGetFlowSet added in v1.1.23

func (self *MetathingsDevicedService) AuthorizeGetFlowSet(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) AuthorizeGetObject

func (self *MetathingsDevicedService) AuthorizeGetObject(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) AuthorizeGetObjectContent

func (self *MetathingsDevicedService) AuthorizeGetObjectContent(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) AuthorizeHeartbeat

func (self *MetathingsDevicedService) AuthorizeHeartbeat(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) AuthorizeListObjects

func (self *MetathingsDevicedService) AuthorizeListObjects(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) AuthorizePatchDevice

func (self *MetathingsDevicedService) AuthorizePatchDevice(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) AuthorizePatchFlowSet added in v1.1.23

func (self *MetathingsDevicedService) AuthorizePatchFlowSet(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) AuthorizePutObject

func (self *MetathingsDevicedService) AuthorizePutObject(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) AuthorizeRemoveFlowsFromFlowSet added in v1.1.23

func (self *MetathingsDevicedService) AuthorizeRemoveFlowsFromFlowSet(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) AuthorizeRemoveObject

func (self *MetathingsDevicedService) AuthorizeRemoveObject(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) AuthorizeRenameObject

func (self *MetathingsDevicedService) AuthorizeRenameObject(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) AuthorizeUnaryCall

func (self *MetathingsDevicedService) AuthorizeUnaryCall(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) Connect

func (*MetathingsDevicedService) CreateDevice

func (*MetathingsDevicedService) CreateFlowSet added in v1.1.23

func (*MetathingsDevicedService) DeleteDevice

func (self *MetathingsDevicedService) DeleteDevice(ctx context.Context, req *pb.DeleteDeviceRequest) (*empty.Empty, error)

func (*MetathingsDevicedService) DeleteFlowSet added in v1.1.23

func (self *MetathingsDevicedService) DeleteFlowSet(ctx context.Context, req *pb.DeleteFlowSetRequest) (*empty.Empty, error)

func (*MetathingsDevicedService) GetDevice

func (*MetathingsDevicedService) GetDeviceByModule added in v0.100.0

func (*MetathingsDevicedService) GetFlowSet added in v1.1.23

func (*MetathingsDevicedService) GetObject

func (*MetathingsDevicedService) GetObjectContent

func (*MetathingsDevicedService) Heartbeat

func (*MetathingsDevicedService) IsIgnoreMethod

func (self *MetathingsDevicedService) IsIgnoreMethod(md *grpc_helper.MethodDescription) bool

func (*MetathingsDevicedService) ListDevices

func (*MetathingsDevicedService) ListFlowSets added in v1.1.23

func (*MetathingsDevicedService) ListObjects

func (*MetathingsDevicedService) PatchDevice

func (*MetathingsDevicedService) PatchFlowSet added in v1.1.23

func (*MetathingsDevicedService) PullFrameFromFlow

func (*MetathingsDevicedService) PullFrameFromFlowSet added in v1.1.23

func (*MetathingsDevicedService) PushFrameToFlow

func (*MetathingsDevicedService) PutObject

func (*MetathingsDevicedService) PutObjectStreaming added in v1.1.16

func (*MetathingsDevicedService) QueryFramesFromFlow

func (*MetathingsDevicedService) RemoveFlowsFromFlowSet added in v1.1.23

func (self *MetathingsDevicedService) RemoveFlowsFromFlowSet(ctx context.Context, req *pb.RemoveFlowsFromFlowSetRequest) (*empty.Empty, error)

func (*MetathingsDevicedService) RemoveObject

func (self *MetathingsDevicedService) RemoveObject(ctx context.Context, req *pb.RemoveObjectRequest) (*empty.Empty, error)

func (*MetathingsDevicedService) RenameObject

func (self *MetathingsDevicedService) RenameObject(ctx context.Context, req *pb.RenameObjectRequest) (*empty.Empty, error)

func (*MetathingsDevicedService) ShowDevice

func (*MetathingsDevicedService) StreamCall

func (*MetathingsDevicedService) UnaryCall

func (*MetathingsDevicedService) ValidateCreateDevice

func (self *MetathingsDevicedService) ValidateCreateDevice(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) ValidateCreateFlowSet added in v1.1.23

func (self *MetathingsDevicedService) ValidateCreateFlowSet(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) ValidateDeleteDevice

func (self *MetathingsDevicedService) ValidateDeleteDevice(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) ValidateDeleteFlowSet added in v1.1.23

func (self *MetathingsDevicedService) ValidateDeleteFlowSet(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) ValidateFlowSet added in v1.1.23

func (self *MetathingsDevicedService) ValidateFlowSet(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) ValidateGetDevice

func (self *MetathingsDevicedService) ValidateGetDevice(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) ValidateGetDeviceByModule added in v0.100.0

func (self *MetathingsDevicedService) ValidateGetDeviceByModule(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) ValidateGetObject

func (self *MetathingsDevicedService) ValidateGetObject(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) ValidateGetObjectContent

func (self *MetathingsDevicedService) ValidateGetObjectContent(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) ValidateHeartbeat

func (self *MetathingsDevicedService) ValidateHeartbeat(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) ValidateListObjects

func (self *MetathingsDevicedService) ValidateListObjects(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) ValidatePatchDevice

func (self *MetathingsDevicedService) ValidatePatchDevice(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) ValidatePatchFlowSet added in v1.1.23

func (self *MetathingsDevicedService) ValidatePatchFlowSet(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) ValidatePutObject

func (self *MetathingsDevicedService) ValidatePutObject(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) ValidateRemoveObject

func (self *MetathingsDevicedService) ValidateRemoveObject(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) ValidateRenameObject

func (self *MetathingsDevicedService) ValidateRenameObject(ctx context.Context, in interface{}) error

func (*MetathingsDevicedService) ValidateUnaryCall

func (self *MetathingsDevicedService) ValidateUnaryCall(ctx context.Context, in interface{}) error

type MetathingsDevicedServiceOption

type MetathingsDevicedServiceOption struct {
	Methods struct {
		PutObjectStreaming struct {
			Timeout            int64
			ChunkSize          int64
			ChunkPerRequest    int
			PullRequestRetry   int
			PullRequestTimeout int64
		}
	}
}

Jump to

Keyboard shortcuts

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