Documentation
¶
Index ¶
- Variables
- func RegisterControllerServer(s *grpc.Server, srv ControllerServer)
- type AccelerationType
- type Accelerometer
- func (*Accelerometer) Descriptor() ([]byte, []int)
- func (m *Accelerometer) GetSensor() Sensor
- func (m *Accelerometer) GetUnit() AccelerationType
- func (m *Accelerometer) GetX() float32
- func (m *Accelerometer) GetY() float32
- func (m *Accelerometer) GetZ() float32
- func (*Accelerometer) ProtoMessage()
- func (m *Accelerometer) Reset()
- func (m *Accelerometer) String() string
- func (m *Accelerometer) XXX_DiscardUnknown()
- func (m *Accelerometer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Accelerometer) XXX_Merge(src proto.Message)
- func (m *Accelerometer) XXX_Size() int
- func (m *Accelerometer) XXX_Unmarshal(b []byte) error
- type Altitude
- func (*Altitude) Descriptor() ([]byte, []int)
- func (m *Altitude) GetAltitude() int32
- func (m *Altitude) GetSensor() Sensor
- func (m *Altitude) GetUnit() DistanceType
- func (*Altitude) ProtoMessage()
- func (m *Altitude) Reset()
- func (m *Altitude) String() string
- func (m *Altitude) XXX_DiscardUnknown()
- func (m *Altitude) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Altitude) XXX_Merge(src proto.Message)
- func (m *Altitude) XXX_Size() int
- func (m *Altitude) XXX_Unmarshal(b []byte) error
- type Angle
- func (*Angle) Descriptor() ([]byte, []int)
- func (m *Angle) GetSensor() Sensor
- func (m *Angle) GetUnit() AngularType
- func (m *Angle) GetX() int32
- func (m *Angle) GetY() int32
- func (m *Angle) GetZ() int32
- func (*Angle) ProtoMessage()
- func (m *Angle) Reset()
- func (m *Angle) String() string
- func (m *Angle) XXX_DiscardUnknown()
- func (m *Angle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Angle) XXX_Merge(src proto.Message)
- func (m *Angle) XXX_Size() int
- func (m *Angle) XXX_Unmarshal(b []byte) error
- type AngularType
- type CameraConfig
- func (*CameraConfig) Descriptor() ([]byte, []int)
- func (m *CameraConfig) GetEnabled() bool
- func (m *CameraConfig) GetLocation() string
- func (m *CameraConfig) GetName() string
- func (m *CameraConfig) GetPassword() string
- func (m *CameraConfig) GetType() string
- func (m *CameraConfig) GetUri() string
- func (m *CameraConfig) GetUsername() string
- func (*CameraConfig) ProtoMessage()
- func (m *CameraConfig) Reset()
- func (m *CameraConfig) String() string
- func (m *CameraConfig) XXX_DiscardUnknown()
- func (m *CameraConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CameraConfig) XXX_Merge(src proto.Message)
- func (m *CameraConfig) XXX_Size() int
- func (m *CameraConfig) XXX_Unmarshal(b []byte) error
- type Config
- func (*Config) Descriptor() ([]byte, []int)
- func (m *Config) GetCamera() []*CameraConfig
- func (m *Config) GetConfigured() bool
- func (m *Config) GetHostname() string
- func (m *Config) GetInputPipeline() string
- func (m *Config) GetNodeName() string
- func (m *Config) GetOutputPipeline() string
- func (m *Config) GetPassword() string
- func (m *Config) GetPasswordAgain() string
- func (m *Config) GetStorage() []*StorageConfig
- func (m *Config) GetUsername() string
- func (m *Config) GetUuid() string
- func (*Config) ProtoMessage()
- func (m *Config) Reset()
- func (m *Config) String() string
- func (m *Config) XXX_DiscardUnknown()
- func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Config) XXX_Merge(src proto.Message)
- func (m *Config) XXX_Size() int
- func (m *Config) XXX_Unmarshal(b []byte) error
- type Container
- func (*Container) Descriptor() ([]byte, []int)
- func (m *Container) GetId() string
- func (m *Container) GetImage() string
- func (m *Container) GetName() string
- func (m *Container) GetStatus() string
- func (*Container) ProtoMessage()
- func (m *Container) Reset()
- func (m *Container) String() string
- func (m *Container) XXX_DiscardUnknown()
- func (m *Container) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Container) XXX_Merge(src proto.Message)
- func (m *Container) XXX_Size() int
- func (m *Container) XXX_Unmarshal(b []byte) error
- type ControllerClient
- type ControllerServer
- type DistanceType
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetCreatedAt() *timestamp.Timestamp
- func (m *Event) GetDuration() int64
- func (m *Event) GetId() string
- func (m *Event) GetSensor() string
- func (m *Event) GetSource() string
- func (m *Event) GetType() string
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) String() string
- func (m *Event) XXX_DiscardUnknown()
- func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Event) XXX_Merge(src proto.Message)
- func (m *Event) XXX_Size() int
- func (m *Event) XXX_Unmarshal(b []byte) error
- type ForceType
- type GetConfigReq
- func (*GetConfigReq) Descriptor() ([]byte, []int)
- func (*GetConfigReq) ProtoMessage()
- func (m *GetConfigReq) Reset()
- func (m *GetConfigReq) String() string
- func (m *GetConfigReq) XXX_DiscardUnknown()
- func (m *GetConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetConfigReq) XXX_Merge(src proto.Message)
- func (m *GetConfigReq) XXX_Size() int
- func (m *GetConfigReq) XXX_Unmarshal(b []byte) error
- type GetConfigResp
- func (*GetConfigResp) Descriptor() ([]byte, []int)
- func (m *GetConfigResp) GetConfig() *Config
- func (*GetConfigResp) ProtoMessage()
- func (m *GetConfigResp) Reset()
- func (m *GetConfigResp) String() string
- func (m *GetConfigResp) XXX_DiscardUnknown()
- func (m *GetConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetConfigResp) XXX_Merge(src proto.Message)
- func (m *GetConfigResp) XXX_Size() int
- func (m *GetConfigResp) XXX_Unmarshal(b []byte) error
- type GetContainerListReq
- func (*GetContainerListReq) Descriptor() ([]byte, []int)
- func (*GetContainerListReq) ProtoMessage()
- func (m *GetContainerListReq) Reset()
- func (m *GetContainerListReq) String() string
- func (m *GetContainerListReq) XXX_DiscardUnknown()
- func (m *GetContainerListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetContainerListReq) XXX_Merge(src proto.Message)
- func (m *GetContainerListReq) XXX_Size() int
- func (m *GetContainerListReq) XXX_Unmarshal(b []byte) error
- type GetContainerListResp
- func (*GetContainerListResp) Descriptor() ([]byte, []int)
- func (m *GetContainerListResp) GetContainers() []*Container
- func (*GetContainerListResp) ProtoMessage()
- func (m *GetContainerListResp) Reset()
- func (m *GetContainerListResp) String() string
- func (m *GetContainerListResp) XXX_DiscardUnknown()
- func (m *GetContainerListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetContainerListResp) XXX_Merge(src proto.Message)
- func (m *GetContainerListResp) XXX_Size() int
- func (m *GetContainerListResp) XXX_Unmarshal(b []byte) error
- type GetContainerLogReq
- func (*GetContainerLogReq) Descriptor() ([]byte, []int)
- func (m *GetContainerLogReq) GetContainerid() string
- func (*GetContainerLogReq) ProtoMessage()
- func (m *GetContainerLogReq) Reset()
- func (m *GetContainerLogReq) String() string
- func (m *GetContainerLogReq) XXX_DiscardUnknown()
- func (m *GetContainerLogReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetContainerLogReq) XXX_Merge(src proto.Message)
- func (m *GetContainerLogReq) XXX_Size() int
- func (m *GetContainerLogReq) XXX_Unmarshal(b []byte) error
- type GetContainerLogResp
- func (*GetContainerLogResp) Descriptor() ([]byte, []int)
- func (m *GetContainerLogResp) GetLog() string
- func (*GetContainerLogResp) ProtoMessage()
- func (m *GetContainerLogResp) Reset()
- func (m *GetContainerLogResp) String() string
- func (m *GetContainerLogResp) XXX_DiscardUnknown()
- func (m *GetContainerLogResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetContainerLogResp) XXX_Merge(src proto.Message)
- func (m *GetContainerLogResp) XXX_Size() int
- func (m *GetContainerLogResp) XXX_Unmarshal(b []byte) error
- type GetEventsReq
- func (*GetEventsReq) Descriptor() ([]byte, []int)
- func (m *GetEventsReq) GetLimit() int32
- func (m *GetEventsReq) GetPage() int32
- func (*GetEventsReq) ProtoMessage()
- func (m *GetEventsReq) Reset()
- func (m *GetEventsReq) String() string
- func (m *GetEventsReq) XXX_DiscardUnknown()
- func (m *GetEventsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetEventsReq) XXX_Merge(src proto.Message)
- func (m *GetEventsReq) XXX_Size() int
- func (m *GetEventsReq) XXX_Unmarshal(b []byte) error
- type GetEventsResp
- func (*GetEventsResp) Descriptor() ([]byte, []int)
- func (m *GetEventsResp) GetEvent() []*Event
- func (m *GetEventsResp) GetNpages() int32
- func (m *GetEventsResp) GetPage() int32
- func (m *GetEventsResp) GetTotal() int32
- func (*GetEventsResp) ProtoMessage()
- func (m *GetEventsResp) Reset()
- func (m *GetEventsResp) String() string
- func (m *GetEventsResp) XXX_DiscardUnknown()
- func (m *GetEventsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetEventsResp) XXX_Merge(src proto.Message)
- func (m *GetEventsResp) XXX_Size() int
- func (m *GetEventsResp) XXX_Unmarshal(b []byte) error
- type GetIsConfiguredReq
- func (*GetIsConfiguredReq) Descriptor() ([]byte, []int)
- func (*GetIsConfiguredReq) ProtoMessage()
- func (m *GetIsConfiguredReq) Reset()
- func (m *GetIsConfiguredReq) String() string
- func (m *GetIsConfiguredReq) XXX_DiscardUnknown()
- func (m *GetIsConfiguredReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetIsConfiguredReq) XXX_Merge(src proto.Message)
- func (m *GetIsConfiguredReq) XXX_Size() int
- func (m *GetIsConfiguredReq) XXX_Unmarshal(b []byte) error
- type GetIsConfiguredResp
- func (*GetIsConfiguredResp) Descriptor() ([]byte, []int)
- func (m *GetIsConfiguredResp) GetIsConfigured() bool
- func (*GetIsConfiguredResp) ProtoMessage()
- func (m *GetIsConfiguredResp) Reset()
- func (m *GetIsConfiguredResp) String() string
- func (m *GetIsConfiguredResp) XXX_DiscardUnknown()
- func (m *GetIsConfiguredResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetIsConfiguredResp) XXX_Merge(src proto.Message)
- func (m *GetIsConfiguredResp) XXX_Size() int
- func (m *GetIsConfiguredResp) XXX_Unmarshal(b []byte) error
- type GetSensorReportsReq
- func (*GetSensorReportsReq) Descriptor() ([]byte, []int)
- func (m *GetSensorReportsReq) GetCount() int32
- func (*GetSensorReportsReq) ProtoMessage()
- func (m *GetSensorReportsReq) Reset()
- func (m *GetSensorReportsReq) String() string
- func (m *GetSensorReportsReq) XXX_DiscardUnknown()
- func (m *GetSensorReportsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSensorReportsReq) XXX_Merge(src proto.Message)
- func (m *GetSensorReportsReq) XXX_Size() int
- func (m *GetSensorReportsReq) XXX_Unmarshal(b []byte) error
- type GetSensorReportsResp
- func (*GetSensorReportsResp) Descriptor() ([]byte, []int)
- func (m *GetSensorReportsResp) GetReports() []*SensorReport
- func (*GetSensorReportsResp) ProtoMessage()
- func (m *GetSensorReportsResp) Reset()
- func (m *GetSensorReportsResp) String() string
- func (m *GetSensorReportsResp) XXX_DiscardUnknown()
- func (m *GetSensorReportsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetSensorReportsResp) XXX_Merge(src proto.Message)
- func (m *GetSensorReportsResp) XXX_Size() int
- func (m *GetSensorReportsResp) XXX_Unmarshal(b []byte) error
- type GetVideoEventsReq
- func (*GetVideoEventsReq) Descriptor() ([]byte, []int)
- func (m *GetVideoEventsReq) GetLimit() int32
- func (m *GetVideoEventsReq) GetPage() int32
- func (*GetVideoEventsReq) ProtoMessage()
- func (m *GetVideoEventsReq) Reset()
- func (m *GetVideoEventsReq) String() string
- func (m *GetVideoEventsReq) XXX_DiscardUnknown()
- func (m *GetVideoEventsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetVideoEventsReq) XXX_Merge(src proto.Message)
- func (m *GetVideoEventsReq) XXX_Size() int
- func (m *GetVideoEventsReq) XXX_Unmarshal(b []byte) error
- type GetVideoEventsResp
- func (*GetVideoEventsResp) Descriptor() ([]byte, []int)
- func (m *GetVideoEventsResp) GetNpages() int32
- func (m *GetVideoEventsResp) GetPage() int32
- func (m *GetVideoEventsResp) GetTotal() int32
- func (m *GetVideoEventsResp) GetVideo() []*VideoEvent
- func (*GetVideoEventsResp) ProtoMessage()
- func (m *GetVideoEventsResp) Reset()
- func (m *GetVideoEventsResp) String() string
- func (m *GetVideoEventsResp) XXX_DiscardUnknown()
- func (m *GetVideoEventsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetVideoEventsResp) XXX_Merge(src proto.Message)
- func (m *GetVideoEventsResp) XXX_Size() int
- func (m *GetVideoEventsResp) XXX_Unmarshal(b []byte) error
- type Gyroscope
- func (*Gyroscope) Descriptor() ([]byte, []int)
- func (m *Gyroscope) GetSensor() Sensor
- func (m *Gyroscope) GetUnit() AngularType
- func (m *Gyroscope) GetX() int32
- func (m *Gyroscope) GetY() int32
- func (m *Gyroscope) GetZ() int32
- func (*Gyroscope) ProtoMessage()
- func (m *Gyroscope) Reset()
- func (m *Gyroscope) String() string
- func (m *Gyroscope) XXX_DiscardUnknown()
- func (m *Gyroscope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Gyroscope) XXX_Merge(src proto.Message)
- func (m *Gyroscope) XXX_Size() int
- func (m *Gyroscope) XXX_Unmarshal(b []byte) error
- type IssueCommandReq
- func (*IssueCommandReq) Descriptor() ([]byte, []int)
- func (m *IssueCommandReq) GetAuthtoken() string
- func (m *IssueCommandReq) GetCommand() string
- func (*IssueCommandReq) ProtoMessage()
- func (m *IssueCommandReq) Reset()
- func (m *IssueCommandReq) String() string
- func (m *IssueCommandReq) XXX_DiscardUnknown()
- func (m *IssueCommandReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IssueCommandReq) XXX_Merge(src proto.Message)
- func (m *IssueCommandReq) XXX_Size() int
- func (m *IssueCommandReq) XXX_Unmarshal(b []byte) error
- type IssueCommandResp
- func (*IssueCommandResp) Descriptor() ([]byte, []int)
- func (m *IssueCommandResp) GetMessage() string
- func (m *IssueCommandResp) GetStatus() string
- func (*IssueCommandResp) ProtoMessage()
- func (m *IssueCommandResp) Reset()
- func (m *IssueCommandResp) String() string
- func (m *IssueCommandResp) XXX_DiscardUnknown()
- func (m *IssueCommandResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IssueCommandResp) XXX_Merge(src proto.Message)
- func (m *IssueCommandResp) XXX_Size() int
- func (m *IssueCommandResp) XXX_Unmarshal(b []byte) error
- type LoginReq
- func (*LoginReq) Descriptor() ([]byte, []int)
- func (m *LoginReq) GetAuthtoken() string
- func (m *LoginReq) GetPassword() string
- func (m *LoginReq) GetUsername() string
- func (*LoginReq) ProtoMessage()
- func (m *LoginReq) Reset()
- func (m *LoginReq) String() string
- func (m *LoginReq) XXX_DiscardUnknown()
- func (m *LoginReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginReq) XXX_Merge(src proto.Message)
- func (m *LoginReq) XXX_Size() int
- func (m *LoginReq) XXX_Unmarshal(b []byte) error
- type LoginResp
- func (*LoginResp) Descriptor() ([]byte, []int)
- func (m *LoginResp) GetAuthexpired() bool
- func (m *LoginResp) GetAuthtoken() string
- func (m *LoginResp) GetMessage() string
- func (m *LoginResp) GetSuccess() bool
- func (*LoginResp) ProtoMessage()
- func (m *LoginResp) Reset()
- func (m *LoginResp) String() string
- func (m *LoginResp) XXX_DiscardUnknown()
- func (m *LoginResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginResp) XXX_Merge(src proto.Message)
- func (m *LoginResp) XXX_Size() int
- func (m *LoginResp) XXX_Unmarshal(b []byte) error
- type LonLat
- func (*LonLat) Descriptor() ([]byte, []int)
- func (m *LonLat) GetLat() float64
- func (m *LonLat) GetLon() float64
- func (m *LonLat) GetSensor() Sensor
- func (*LonLat) ProtoMessage()
- func (m *LonLat) Reset()
- func (m *LonLat) String() string
- func (m *LonLat) XXX_DiscardUnknown()
- func (m *LonLat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LonLat) XXX_Merge(src proto.Message)
- func (m *LonLat) XXX_Size() int
- func (m *LonLat) XXX_Unmarshal(b []byte) error
- type LuminousIntensityType
- type MagneticFluxDensityType
- type Magnetometer
- func (*Magnetometer) Descriptor() ([]byte, []int)
- func (m *Magnetometer) GetSensor() Sensor
- func (m *Magnetometer) GetUnit() MagneticFluxDensityType
- func (m *Magnetometer) GetX() int32
- func (m *Magnetometer) GetY() int32
- func (m *Magnetometer) GetZ() int32
- func (*Magnetometer) ProtoMessage()
- func (m *Magnetometer) Reset()
- func (m *Magnetometer) String() string
- func (m *Magnetometer) XXX_DiscardUnknown()
- func (m *Magnetometer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Magnetometer) XXX_Merge(src proto.Message)
- func (m *Magnetometer) XXX_Size() int
- func (m *Magnetometer) XXX_Unmarshal(b []byte) error
- type Pressure
- func (*Pressure) Descriptor() ([]byte, []int)
- func (m *Pressure) GetPressure() int32
- func (m *Pressure) GetSensor() Sensor
- func (m *Pressure) GetUnit() PressureType
- func (*Pressure) ProtoMessage()
- func (m *Pressure) Reset()
- func (m *Pressure) String() string
- func (m *Pressure) XXX_DiscardUnknown()
- func (m *Pressure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Pressure) XXX_Merge(src proto.Message)
- func (m *Pressure) XXX_Size() int
- func (m *Pressure) XXX_Unmarshal(b []byte) error
- type PressureType
- type Sensor
- type SensorReport
- func (*SensorReport) Descriptor() ([]byte, []int)
- func (m *SensorReport) GetAccelerometer() *Accelerometer
- func (m *SensorReport) GetAltitude() *Altitude
- func (m *SensorReport) GetAngle() *Angle
- func (m *SensorReport) GetEventId() string
- func (m *SensorReport) GetGyroscope() *Gyroscope
- func (m *SensorReport) GetLonLat() *LonLat
- func (m *SensorReport) GetMagnetometer() *Magnetometer
- func (m *SensorReport) GetPressure() *Pressure
- func (m *SensorReport) GetTime() *Time
- func (m *SensorReport) GetTracker() *TrackerInfo
- func (*SensorReport) ProtoMessage()
- func (m *SensorReport) Reset()
- func (m *SensorReport) String() string
- func (m *SensorReport) XXX_DiscardUnknown()
- func (m *SensorReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SensorReport) XXX_Merge(src proto.Message)
- func (m *SensorReport) XXX_Size() int
- func (m *SensorReport) XXX_Unmarshal(b []byte) error
- type SensorReportReq
- func (*SensorReportReq) Descriptor() ([]byte, []int)
- func (*SensorReportReq) ProtoMessage()
- func (m *SensorReportReq) Reset()
- func (m *SensorReportReq) String() string
- func (m *SensorReportReq) XXX_DiscardUnknown()
- func (m *SensorReportReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SensorReportReq) XXX_Merge(src proto.Message)
- func (m *SensorReportReq) XXX_Size() int
- func (m *SensorReportReq) XXX_Unmarshal(b []byte) error
- type SetConfigReq
- func (*SetConfigReq) Descriptor() ([]byte, []int)
- func (m *SetConfigReq) GetConfig() *Config
- func (*SetConfigReq) ProtoMessage()
- func (m *SetConfigReq) Reset()
- func (m *SetConfigReq) String() string
- func (m *SetConfigReq) XXX_DiscardUnknown()
- func (m *SetConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetConfigReq) XXX_Merge(src proto.Message)
- func (m *SetConfigReq) XXX_Size() int
- func (m *SetConfigReq) XXX_Unmarshal(b []byte) error
- type SetConfigResp
- func (*SetConfigResp) Descriptor() ([]byte, []int)
- func (m *SetConfigResp) GetMsg() string
- func (m *SetConfigResp) GetStatus() int32
- func (*SetConfigResp) ProtoMessage()
- func (m *SetConfigResp) Reset()
- func (m *SetConfigResp) String() string
- func (m *SetConfigResp) XXX_DiscardUnknown()
- func (m *SetConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetConfigResp) XXX_Merge(src proto.Message)
- func (m *SetConfigResp) XXX_Size() int
- func (m *SetConfigResp) XXX_Unmarshal(b []byte) error
- type StorageConfig
- func (*StorageConfig) Descriptor() ([]byte, []int)
- func (m *StorageConfig) GetLocation() string
- func (m *StorageConfig) GetName() string
- func (*StorageConfig) ProtoMessage()
- func (m *StorageConfig) Reset()
- func (m *StorageConfig) String() string
- func (m *StorageConfig) XXX_DiscardUnknown()
- func (m *StorageConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StorageConfig) XXX_Merge(src proto.Message)
- func (m *StorageConfig) XXX_Size() int
- func (m *StorageConfig) XXX_Unmarshal(b []byte) error
- type Test
- func (*Test) Descriptor() ([]byte, []int)
- func (m *Test) GetMessage() string
- func (*Test) ProtoMessage()
- func (m *Test) Reset()
- func (m *Test) String() string
- func (m *Test) XXX_DiscardUnknown()
- func (m *Test) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Test) XXX_Merge(src proto.Message)
- func (m *Test) XXX_Size() int
- func (m *Test) XXX_Unmarshal(b []byte) error
- type Time
- func (*Time) Descriptor() ([]byte, []int)
- func (m *Time) GetDay() int32
- func (m *Time) GetHour() int32
- func (m *Time) GetMillisecond() int32
- func (m *Time) GetMinute() int32
- func (m *Time) GetMonth() int32
- func (m *Time) GetSecond() int32
- func (m *Time) GetSensor() Sensor
- func (m *Time) GetYear() int32
- func (*Time) ProtoMessage()
- func (m *Time) Reset()
- func (m *Time) String() string
- func (m *Time) XXX_DiscardUnknown()
- func (m *Time) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Time) XXX_Merge(src proto.Message)
- func (m *Time) XXX_Size() int
- func (m *Time) XXX_Unmarshal(b []byte) error
- type TimeType
- type TrackerInfo
- func (*TrackerInfo) Descriptor() ([]byte, []int)
- func (m *TrackerInfo) GetHostname() string
- func (m *TrackerInfo) GetIPv4Address() string
- func (m *TrackerInfo) GetLatitude() float64
- func (m *TrackerInfo) GetLongitude() float64
- func (m *TrackerInfo) GetName() string
- func (m *TrackerInfo) GetTime() *timestamp.Timestamp
- func (m *TrackerInfo) GetUuid() string
- func (*TrackerInfo) ProtoMessage()
- func (m *TrackerInfo) Reset()
- func (m *TrackerInfo) String() string
- func (m *TrackerInfo) XXX_DiscardUnknown()
- func (m *TrackerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TrackerInfo) XXX_Merge(src proto.Message)
- func (m *TrackerInfo) XXX_Size() int
- func (m *TrackerInfo) XXX_Unmarshal(b []byte) error
- type UnimplementedControllerServer
- func (*UnimplementedControllerServer) GetConfig(ctx context.Context, req *GetConfigReq) (*GetConfigResp, error)
- func (*UnimplementedControllerServer) GetContainerList(ctx context.Context, req *GetContainerListReq) (*GetContainerListResp, error)
- func (*UnimplementedControllerServer) GetContainerLog(ctx context.Context, req *GetContainerLogReq) (*GetContainerLogResp, error)
- func (*UnimplementedControllerServer) GetEvents(ctx context.Context, req *GetEventsReq) (*GetEventsResp, error)
- func (*UnimplementedControllerServer) GetIsConfigured(ctx context.Context, req *GetIsConfiguredReq) (*GetIsConfiguredResp, error)
- func (*UnimplementedControllerServer) GetSensorReport(ctx context.Context, req *SensorReportReq) (*SensorReport, error)
- func (*UnimplementedControllerServer) GetSensorReports(ctx context.Context, req *GetSensorReportsReq) (*GetSensorReportsResp, error)
- func (*UnimplementedControllerServer) GetVideoEvents(ctx context.Context, req *GetVideoEventsReq) (*GetVideoEventsResp, error)
- func (*UnimplementedControllerServer) IssueCommand(ctx context.Context, req *IssueCommandReq) (*IssueCommandResp, error)
- func (*UnimplementedControllerServer) Login(ctx context.Context, req *LoginReq) (*LoginResp, error)
- func (*UnimplementedControllerServer) SetConfig(ctx context.Context, req *SetConfigReq) (*SetConfigResp, error)
- type VideoEvent
- func (*VideoEvent) Descriptor() ([]byte, []int)
- func (m *VideoEvent) GetCreatedAt() *timestamp.Timestamp
- func (m *VideoEvent) GetEventId() string
- func (m *VideoEvent) GetThumb() string
- func (m *VideoEvent) GetUri() string
- func (m *VideoEvent) GetWebUri() string
- func (*VideoEvent) ProtoMessage()
- func (m *VideoEvent) Reset()
- func (m *VideoEvent) String() string
- func (m *VideoEvent) XXX_DiscardUnknown()
- func (m *VideoEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VideoEvent) XXX_Merge(src proto.Message)
- func (m *VideoEvent) XXX_Size() int
- func (m *VideoEvent) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var AccelerationType_name = map[int32]string{
0: "ACCELERATION_UNKNOWN",
1: "ACCELERATION_METERS_PER_SECOND_SQUARED",
2: "ACCELERATION_KILOMETERS_PER_HOUR_SQUARED",
3: "ACCELERATION_FEET_PER_SECOND_SQUARED",
4: "ACCELERATION_MILES_PER_HOUR_SQUARED",
5: "ACCELERATION_ANGULAR_RADIANTS",
6: "ACCELERATION_ANGULAR_DEGREES",
}
View Source
var AccelerationType_value = map[string]int32{
"ACCELERATION_UNKNOWN": 0,
"ACCELERATION_METERS_PER_SECOND_SQUARED": 1,
"ACCELERATION_KILOMETERS_PER_HOUR_SQUARED": 2,
"ACCELERATION_FEET_PER_SECOND_SQUARED": 3,
"ACCELERATION_MILES_PER_HOUR_SQUARED": 4,
"ACCELERATION_ANGULAR_RADIANTS": 5,
"ACCELERATION_ANGULAR_DEGREES": 6,
}
View Source
var AngularType_name = map[int32]string{
0: "ANGULAR_UNKNOWN",
1: "ANGULAR_RADIANS",
2: "ANGULAR_DEGREES",
}
View Source
var AngularType_value = map[string]int32{
"ANGULAR_UNKNOWN": 0,
"ANGULAR_RADIANS": 1,
"ANGULAR_DEGREES": 2,
}
View Source
var DistanceType_name = map[int32]string{
0: "DISTANCE_UNKNOWN",
1: "DISTANCE_MICRONS",
2: "DISTANCE_MILLIMETERS",
3: "DISTANCE_CENTIMETERS",
4: "DISTANCE_METERS",
5: "DISTANCE_KILOMETERS",
6: "DISTANCE_INCHES",
7: "DISTANCE_FEET",
8: "DISTANCE_YARDS",
9: "DISTANCE_MILES",
10: "DISTANCE_ASTRONOMICAL_UNITS",
11: "DISTANCE_LIGHTYEARS",
}
View Source
var DistanceType_value = map[string]int32{
"DISTANCE_UNKNOWN": 0,
"DISTANCE_MICRONS": 1,
"DISTANCE_MILLIMETERS": 2,
"DISTANCE_CENTIMETERS": 3,
"DISTANCE_METERS": 4,
"DISTANCE_KILOMETERS": 5,
"DISTANCE_INCHES": 6,
"DISTANCE_FEET": 7,
"DISTANCE_YARDS": 8,
"DISTANCE_MILES": 9,
"DISTANCE_ASTRONOMICAL_UNITS": 10,
"DISTANCE_LIGHTYEARS": 11,
}
View Source
var ForceType_name = map[int32]string{
0: "FORCE_UNKNOWN",
1: "FORCE_MICRONEWTONS",
2: "FORCE_MILLINEWTONS",
3: "FORCE_NEWTONS",
4: "FORCE_KILONEWTONS",
5: "FORCE_KILOGRAMS_FORCE",
6: "FORCE_POUNDS_FORCE",
}
View Source
var ForceType_value = map[string]int32{
"FORCE_UNKNOWN": 0,
"FORCE_MICRONEWTONS": 1,
"FORCE_MILLINEWTONS": 2,
"FORCE_NEWTONS": 3,
"FORCE_KILONEWTONS": 4,
"FORCE_KILOGRAMS_FORCE": 5,
"FORCE_POUNDS_FORCE": 6,
}
View Source
var LuminousIntensityType_name = map[int32]string{
0: "LUMINOUSINTENSITY_UNKNOWN",
1: "LUMINOUSINTENSITY_CANDELA",
2: "LUMINOUSINTENSITY_MILLICANDELA",
}
View Source
var LuminousIntensityType_value = map[string]int32{
"LUMINOUSINTENSITY_UNKNOWN": 0,
"LUMINOUSINTENSITY_CANDELA": 1,
"LUMINOUSINTENSITY_MILLICANDELA": 2,
}
View Source
var MagneticFluxDensityType_name = map[int32]string{
0: "MAGNETICFLUXDENSITY_UNKNOWN",
1: "MAGNETICFLUXDENSITY_TESLA",
2: "MAGNETICFLUXDENSITY_MILLITESLA",
}
View Source
var MagneticFluxDensityType_value = map[string]int32{
"MAGNETICFLUXDENSITY_UNKNOWN": 0,
"MAGNETICFLUXDENSITY_TESLA": 1,
"MAGNETICFLUXDENSITY_MILLITESLA": 2,
}
View Source
var PressureType_name = map[int32]string{
0: "PRESSURE_UNKNOWN",
1: "PRESSURE_PASCAL",
2: "PRESSURE_HECTOPASCAL",
3: "PRESSURE_KILOPASCAL",
4: "PRESSURE_MEGAPASCAL",
5: "PRESSURE_MILLIBAR",
6: "PRESSURE_BAR",
7: "PRESSURE_ATMOSPHERE",
8: "PRESSURE_KILOGRAMS_PER_SQUARE_CENTIMETER",
9: "PRESSURE_POUNDS_PER_SQUARE_INCH",
10: "PRESSURE_TORR",
}
View Source
var PressureType_value = map[string]int32{
"PRESSURE_UNKNOWN": 0,
"PRESSURE_PASCAL": 1,
"PRESSURE_HECTOPASCAL": 2,
"PRESSURE_KILOPASCAL": 3,
"PRESSURE_MEGAPASCAL": 4,
"PRESSURE_MILLIBAR": 5,
"PRESSURE_BAR": 6,
"PRESSURE_ATMOSPHERE": 7,
"PRESSURE_KILOGRAMS_PER_SQUARE_CENTIMETER": 8,
"PRESSURE_POUNDS_PER_SQUARE_INCH": 9,
"PRESSURE_TORR": 10,
}
View Source
var Sensor_name = map[int32]string{
0: "SENSOR_UNKNOWN",
1: "WITMOTION_HWT901B",
2: "GROVE_GPS_AIR530",
3: "GROVE_HX711",
4: "GROVE_BME280",
5: "GROVE_SBMI088",
6: "GROVE_MPU2950",
7: "GROVE_GUVA_S12SD",
8: "GROVE_MCP9600",
9: "GROVE_SI1145",
10: "GPSD_GPS",
}
View Source
var Sensor_value = map[string]int32{
"SENSOR_UNKNOWN": 0,
"WITMOTION_HWT901B": 1,
"GROVE_GPS_AIR530": 2,
"GROVE_HX711": 3,
"GROVE_BME280": 4,
"GROVE_SBMI088": 5,
"GROVE_MPU2950": 6,
"GROVE_GUVA_S12SD": 7,
"GROVE_MCP9600": 8,
"GROVE_SI1145": 9,
"GPSD_GPS": 10,
}
View Source
var TimeType_name = map[int32]string{
0: "TIME_UNKNOWN",
1: "TIME_NANOSECONDS",
2: "TIME_MICROSECONDS",
3: "TIME_MILLISECONDS",
4: "TIME_SECONDS",
5: "TIME_MINUTES",
6: "TIME_HOURS",
}
View Source
var TimeType_value = map[string]int32{
"TIME_UNKNOWN": 0,
"TIME_NANOSECONDS": 1,
"TIME_MICROSECONDS": 2,
"TIME_MILLISECONDS": 3,
"TIME_SECONDS": 4,
"TIME_MINUTES": 5,
"TIME_HOURS": 6,
}
Functions ¶
func RegisterControllerServer ¶
func RegisterControllerServer(s *grpc.Server, srv ControllerServer)
Types ¶
type AccelerationType ¶
type AccelerationType int32
const ( AccelerationType_ACCELERATION_UNKNOWN AccelerationType = 0 AccelerationType_ACCELERATION_METERS_PER_SECOND_SQUARED AccelerationType = 1 AccelerationType_ACCELERATION_KILOMETERS_PER_HOUR_SQUARED AccelerationType = 2 AccelerationType_ACCELERATION_FEET_PER_SECOND_SQUARED AccelerationType = 3 AccelerationType_ACCELERATION_MILES_PER_HOUR_SQUARED AccelerationType = 4 AccelerationType_ACCELERATION_ANGULAR_RADIANTS AccelerationType = 5 AccelerationType_ACCELERATION_ANGULAR_DEGREES AccelerationType = 6 )
func (AccelerationType) EnumDescriptor ¶
func (AccelerationType) EnumDescriptor() ([]byte, []int)
func (AccelerationType) String ¶
func (x AccelerationType) String() string
type Accelerometer ¶
type Accelerometer struct { Sensor Sensor `protobuf:"varint,1,opt,name=Sensor,proto3,enum=controller.Sensor" json:"Sensor,omitempty"` Unit AccelerationType `protobuf:"varint,2,opt,name=Unit,proto3,enum=controller.AccelerationType" json:"Unit,omitempty"` X float32 `protobuf:"fixed32,3,opt,name=X,proto3" json:"X,omitempty"` Y float32 `protobuf:"fixed32,4,opt,name=Y,proto3" json:"Y,omitempty"` Z float32 `protobuf:"fixed32,5,opt,name=Z,proto3" json:"Z,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Measures
func (*Accelerometer) Descriptor ¶
func (*Accelerometer) Descriptor() ([]byte, []int)
func (*Accelerometer) GetSensor ¶
func (m *Accelerometer) GetSensor() Sensor
func (*Accelerometer) GetUnit ¶
func (m *Accelerometer) GetUnit() AccelerationType
func (*Accelerometer) GetX ¶
func (m *Accelerometer) GetX() float32
func (*Accelerometer) GetY ¶
func (m *Accelerometer) GetY() float32
func (*Accelerometer) GetZ ¶
func (m *Accelerometer) GetZ() float32
func (*Accelerometer) ProtoMessage ¶
func (*Accelerometer) ProtoMessage()
func (*Accelerometer) Reset ¶
func (m *Accelerometer) Reset()
func (*Accelerometer) String ¶
func (m *Accelerometer) String() string
func (*Accelerometer) XXX_DiscardUnknown ¶
func (m *Accelerometer) XXX_DiscardUnknown()
func (*Accelerometer) XXX_Marshal ¶
func (m *Accelerometer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Accelerometer) XXX_Merge ¶
func (m *Accelerometer) XXX_Merge(src proto.Message)
func (*Accelerometer) XXX_Size ¶
func (m *Accelerometer) XXX_Size() int
func (*Accelerometer) XXX_Unmarshal ¶
func (m *Accelerometer) XXX_Unmarshal(b []byte) error
type Altitude ¶
type Altitude struct { Sensor Sensor `protobuf:"varint,1,opt,name=Sensor,proto3,enum=controller.Sensor" json:"Sensor,omitempty"` Unit DistanceType `protobuf:"varint,2,opt,name=Unit,proto3,enum=controller.DistanceType" json:"Unit,omitempty"` Altitude int32 `protobuf:"varint,3,opt,name=Altitude,proto3" json:"Altitude,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Altitude) Descriptor ¶
func (*Altitude) GetAltitude ¶
func (*Altitude) GetUnit ¶
func (m *Altitude) GetUnit() DistanceType
func (*Altitude) ProtoMessage ¶
func (*Altitude) ProtoMessage()
func (*Altitude) XXX_DiscardUnknown ¶
func (m *Altitude) XXX_DiscardUnknown()
func (*Altitude) XXX_Marshal ¶
func (*Altitude) XXX_Unmarshal ¶
type Angle ¶
type Angle struct { Sensor Sensor `protobuf:"varint,1,opt,name=Sensor,proto3,enum=controller.Sensor" json:"Sensor,omitempty"` Unit AngularType `protobuf:"varint,2,opt,name=Unit,proto3,enum=controller.AngularType" json:"Unit,omitempty"` X int32 `protobuf:"varint,3,opt,name=X,proto3" json:"X,omitempty"` Y int32 `protobuf:"varint,4,opt,name=Y,proto3" json:"Y,omitempty"` Z int32 `protobuf:"varint,5,opt,name=Z,proto3" json:"Z,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Degrees
func (*Angle) Descriptor ¶
func (*Angle) GetUnit ¶
func (m *Angle) GetUnit() AngularType
func (*Angle) ProtoMessage ¶
func (*Angle) ProtoMessage()
func (*Angle) XXX_DiscardUnknown ¶
func (m *Angle) XXX_DiscardUnknown()
func (*Angle) XXX_Marshal ¶
func (*Angle) XXX_Unmarshal ¶
type AngularType ¶
type AngularType int32
const ( AngularType_ANGULAR_UNKNOWN AngularType = 0 AngularType_ANGULAR_RADIANS AngularType = 1 AngularType_ANGULAR_DEGREES AngularType = 2 )
func (AngularType) EnumDescriptor ¶
func (AngularType) EnumDescriptor() ([]byte, []int)
func (AngularType) String ¶
func (x AngularType) String() string
type CameraConfig ¶
type CameraConfig struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` Uri string `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty"` Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"` Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CameraConfig) Descriptor ¶
func (*CameraConfig) Descriptor() ([]byte, []int)
func (*CameraConfig) GetEnabled ¶
func (m *CameraConfig) GetEnabled() bool
func (*CameraConfig) GetLocation ¶
func (m *CameraConfig) GetLocation() string
func (*CameraConfig) GetName ¶
func (m *CameraConfig) GetName() string
func (*CameraConfig) GetPassword ¶
func (m *CameraConfig) GetPassword() string
func (*CameraConfig) GetType ¶
func (m *CameraConfig) GetType() string
func (*CameraConfig) GetUri ¶
func (m *CameraConfig) GetUri() string
func (*CameraConfig) GetUsername ¶
func (m *CameraConfig) GetUsername() string
func (*CameraConfig) ProtoMessage ¶
func (*CameraConfig) ProtoMessage()
func (*CameraConfig) Reset ¶
func (m *CameraConfig) Reset()
func (*CameraConfig) String ¶
func (m *CameraConfig) String() string
func (*CameraConfig) XXX_DiscardUnknown ¶
func (m *CameraConfig) XXX_DiscardUnknown()
func (*CameraConfig) XXX_Marshal ¶
func (m *CameraConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CameraConfig) XXX_Merge ¶
func (m *CameraConfig) XXX_Merge(src proto.Message)
func (*CameraConfig) XXX_Size ¶
func (m *CameraConfig) XXX_Size() int
func (*CameraConfig) XXX_Unmarshal ¶
func (m *CameraConfig) XXX_Unmarshal(b []byte) error
type Config ¶
type Config struct { Password string `protobuf:"bytes,1,opt,name=Password,proto3" json:"Password,omitempty"` PasswordAgain string `protobuf:"bytes,2,opt,name=PasswordAgain,proto3" json:"PasswordAgain,omitempty"` Hostname string `protobuf:"bytes,3,opt,name=Hostname,proto3" json:"Hostname,omitempty"` NodeName string `protobuf:"bytes,4,opt,name=NodeName,proto3" json:"NodeName,omitempty"` Camera []*CameraConfig `protobuf:"bytes,5,rep,name=camera,proto3" json:"camera,omitempty"` Storage []*StorageConfig `protobuf:"bytes,6,rep,name=storage,proto3" json:"storage,omitempty"` Configured bool `protobuf:"varint,7,opt,name=Configured,proto3" json:"Configured,omitempty"` Uuid string `protobuf:"bytes,8,opt,name=Uuid,proto3" json:"Uuid,omitempty"` Username string `protobuf:"bytes,9,opt,name=Username,proto3" json:"Username,omitempty"` InputPipeline string `protobuf:"bytes,10,opt,name=InputPipeline,proto3" json:"InputPipeline,omitempty"` OutputPipeline string `protobuf:"bytes,11,opt,name=OutputPipeline,proto3" json:"OutputPipeline,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Config) Descriptor ¶
func (*Config) GetCamera ¶
func (m *Config) GetCamera() []*CameraConfig
func (*Config) GetConfigured ¶
func (*Config) GetHostname ¶
func (*Config) GetInputPipeline ¶
func (*Config) GetNodeName ¶
func (*Config) GetOutputPipeline ¶
func (*Config) GetPassword ¶
func (*Config) GetPasswordAgain ¶
func (*Config) GetStorage ¶
func (m *Config) GetStorage() []*StorageConfig
func (*Config) GetUsername ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) XXX_DiscardUnknown ¶
func (m *Config) XXX_DiscardUnknown()
func (*Config) XXX_Marshal ¶
func (*Config) XXX_Unmarshal ¶
type Container ¶ added in v1.2.1
type Container struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Container) Descriptor ¶ added in v1.2.1
func (*Container) ProtoMessage ¶ added in v1.2.1
func (*Container) ProtoMessage()
func (*Container) XXX_DiscardUnknown ¶ added in v1.2.1
func (m *Container) XXX_DiscardUnknown()
func (*Container) XXX_Marshal ¶ added in v1.2.1
func (*Container) XXX_Unmarshal ¶ added in v1.2.1
type ControllerClient ¶
type ControllerClient interface { SetConfig(ctx context.Context, in *SetConfigReq, opts ...grpc.CallOption) (*SetConfigResp, error) GetConfig(ctx context.Context, in *GetConfigReq, opts ...grpc.CallOption) (*GetConfigResp, error) GetIsConfigured(ctx context.Context, in *GetIsConfiguredReq, opts ...grpc.CallOption) (*GetIsConfiguredResp, error) GetEvents(ctx context.Context, in *GetEventsReq, opts ...grpc.CallOption) (*GetEventsResp, error) GetVideoEvents(ctx context.Context, in *GetVideoEventsReq, opts ...grpc.CallOption) (*GetVideoEventsResp, error) Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*LoginResp, error) IssueCommand(ctx context.Context, in *IssueCommandReq, opts ...grpc.CallOption) (*IssueCommandResp, error) GetSensorReport(ctx context.Context, in *SensorReportReq, opts ...grpc.CallOption) (*SensorReport, error) GetSensorReports(ctx context.Context, in *GetSensorReportsReq, opts ...grpc.CallOption) (*GetSensorReportsResp, error) GetContainerList(ctx context.Context, in *GetContainerListReq, opts ...grpc.CallOption) (*GetContainerListResp, error) GetContainerLog(ctx context.Context, in *GetContainerLogReq, opts ...grpc.CallOption) (*GetContainerLogResp, error) }
ControllerClient is the client API for Controller service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewControllerClient ¶
func NewControllerClient(cc grpc.ClientConnInterface) ControllerClient
type ControllerServer ¶
type ControllerServer interface { SetConfig(context.Context, *SetConfigReq) (*SetConfigResp, error) GetConfig(context.Context, *GetConfigReq) (*GetConfigResp, error) GetIsConfigured(context.Context, *GetIsConfiguredReq) (*GetIsConfiguredResp, error) GetEvents(context.Context, *GetEventsReq) (*GetEventsResp, error) GetVideoEvents(context.Context, *GetVideoEventsReq) (*GetVideoEventsResp, error) Login(context.Context, *LoginReq) (*LoginResp, error) IssueCommand(context.Context, *IssueCommandReq) (*IssueCommandResp, error) GetSensorReport(context.Context, *SensorReportReq) (*SensorReport, error) GetSensorReports(context.Context, *GetSensorReportsReq) (*GetSensorReportsResp, error) GetContainerList(context.Context, *GetContainerListReq) (*GetContainerListResp, error) GetContainerLog(context.Context, *GetContainerLogReq) (*GetContainerLogResp, error) }
ControllerServer is the server API for Controller service.
type DistanceType ¶
type DistanceType int32
const ( DistanceType_DISTANCE_UNKNOWN DistanceType = 0 DistanceType_DISTANCE_MICRONS DistanceType = 1 DistanceType_DISTANCE_MILLIMETERS DistanceType = 2 DistanceType_DISTANCE_CENTIMETERS DistanceType = 3 DistanceType_DISTANCE_METERS DistanceType = 4 DistanceType_DISTANCE_KILOMETERS DistanceType = 5 DistanceType_DISTANCE_INCHES DistanceType = 6 DistanceType_DISTANCE_FEET DistanceType = 7 DistanceType_DISTANCE_YARDS DistanceType = 8 DistanceType_DISTANCE_MILES DistanceType = 9 DistanceType_DISTANCE_ASTRONOMICAL_UNITS DistanceType = 10 DistanceType_DISTANCE_LIGHTYEARS DistanceType = 11 )
func (DistanceType) EnumDescriptor ¶
func (DistanceType) EnumDescriptor() ([]byte, []int)
func (DistanceType) String ¶
func (x DistanceType) String() string
type Event ¶
type Event struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` Sensor string `protobuf:"bytes,5,opt,name=sensor,proto3" json:"sensor,omitempty"` Duration int64 `protobuf:"varint,6,opt,name=duration,proto3" json:"duration,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Event) Descriptor ¶
func (*Event) GetCreatedAt ¶
func (*Event) GetDuration ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) XXX_DiscardUnknown ¶
func (m *Event) XXX_DiscardUnknown()
func (*Event) XXX_Marshal ¶
func (*Event) XXX_Unmarshal ¶
type ForceType ¶
type ForceType int32
const ( ForceType_FORCE_UNKNOWN ForceType = 0 ForceType_FORCE_MICRONEWTONS ForceType = 1 ForceType_FORCE_MILLINEWTONS ForceType = 2 ForceType_FORCE_NEWTONS ForceType = 3 ForceType_FORCE_KILONEWTONS ForceType = 4 ForceType_FORCE_KILOGRAMS_FORCE ForceType = 5 ForceType_FORCE_POUNDS_FORCE ForceType = 6 )
func (ForceType) EnumDescriptor ¶
type GetConfigReq ¶
type GetConfigReq struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetConfigReq) Descriptor ¶
func (*GetConfigReq) Descriptor() ([]byte, []int)
func (*GetConfigReq) ProtoMessage ¶
func (*GetConfigReq) ProtoMessage()
func (*GetConfigReq) Reset ¶
func (m *GetConfigReq) Reset()
func (*GetConfigReq) String ¶
func (m *GetConfigReq) String() string
func (*GetConfigReq) XXX_DiscardUnknown ¶
func (m *GetConfigReq) XXX_DiscardUnknown()
func (*GetConfigReq) XXX_Marshal ¶
func (m *GetConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetConfigReq) XXX_Merge ¶
func (m *GetConfigReq) XXX_Merge(src proto.Message)
func (*GetConfigReq) XXX_Size ¶
func (m *GetConfigReq) XXX_Size() int
func (*GetConfigReq) XXX_Unmarshal ¶
func (m *GetConfigReq) XXX_Unmarshal(b []byte) error
type GetConfigResp ¶
type GetConfigResp struct { Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetConfigResp) Descriptor ¶
func (*GetConfigResp) Descriptor() ([]byte, []int)
func (*GetConfigResp) GetConfig ¶
func (m *GetConfigResp) GetConfig() *Config
func (*GetConfigResp) ProtoMessage ¶
func (*GetConfigResp) ProtoMessage()
func (*GetConfigResp) Reset ¶
func (m *GetConfigResp) Reset()
func (*GetConfigResp) String ¶
func (m *GetConfigResp) String() string
func (*GetConfigResp) XXX_DiscardUnknown ¶
func (m *GetConfigResp) XXX_DiscardUnknown()
func (*GetConfigResp) XXX_Marshal ¶
func (m *GetConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetConfigResp) XXX_Merge ¶
func (m *GetConfigResp) XXX_Merge(src proto.Message)
func (*GetConfigResp) XXX_Size ¶
func (m *GetConfigResp) XXX_Size() int
func (*GetConfigResp) XXX_Unmarshal ¶
func (m *GetConfigResp) XXX_Unmarshal(b []byte) error
type GetContainerListReq ¶ added in v1.2.1
type GetContainerListReq struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetContainerListReq) Descriptor ¶ added in v1.2.1
func (*GetContainerListReq) Descriptor() ([]byte, []int)
func (*GetContainerListReq) ProtoMessage ¶ added in v1.2.1
func (*GetContainerListReq) ProtoMessage()
func (*GetContainerListReq) Reset ¶ added in v1.2.1
func (m *GetContainerListReq) Reset()
func (*GetContainerListReq) String ¶ added in v1.2.1
func (m *GetContainerListReq) String() string
func (*GetContainerListReq) XXX_DiscardUnknown ¶ added in v1.2.1
func (m *GetContainerListReq) XXX_DiscardUnknown()
func (*GetContainerListReq) XXX_Marshal ¶ added in v1.2.1
func (m *GetContainerListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetContainerListReq) XXX_Merge ¶ added in v1.2.1
func (m *GetContainerListReq) XXX_Merge(src proto.Message)
func (*GetContainerListReq) XXX_Size ¶ added in v1.2.1
func (m *GetContainerListReq) XXX_Size() int
func (*GetContainerListReq) XXX_Unmarshal ¶ added in v1.2.1
func (m *GetContainerListReq) XXX_Unmarshal(b []byte) error
type GetContainerListResp ¶ added in v1.2.1
type GetContainerListResp struct { Containers []*Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetContainerListResp) Descriptor ¶ added in v1.2.1
func (*GetContainerListResp) Descriptor() ([]byte, []int)
func (*GetContainerListResp) GetContainers ¶ added in v1.2.1
func (m *GetContainerListResp) GetContainers() []*Container
func (*GetContainerListResp) ProtoMessage ¶ added in v1.2.1
func (*GetContainerListResp) ProtoMessage()
func (*GetContainerListResp) Reset ¶ added in v1.2.1
func (m *GetContainerListResp) Reset()
func (*GetContainerListResp) String ¶ added in v1.2.1
func (m *GetContainerListResp) String() string
func (*GetContainerListResp) XXX_DiscardUnknown ¶ added in v1.2.1
func (m *GetContainerListResp) XXX_DiscardUnknown()
func (*GetContainerListResp) XXX_Marshal ¶ added in v1.2.1
func (m *GetContainerListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetContainerListResp) XXX_Merge ¶ added in v1.2.1
func (m *GetContainerListResp) XXX_Merge(src proto.Message)
func (*GetContainerListResp) XXX_Size ¶ added in v1.2.1
func (m *GetContainerListResp) XXX_Size() int
func (*GetContainerListResp) XXX_Unmarshal ¶ added in v1.2.1
func (m *GetContainerListResp) XXX_Unmarshal(b []byte) error
type GetContainerLogReq ¶ added in v1.2.3
type GetContainerLogReq struct { Containerid string `protobuf:"bytes,1,opt,name=containerid,proto3" json:"containerid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetContainerLogReq) Descriptor ¶ added in v1.2.3
func (*GetContainerLogReq) Descriptor() ([]byte, []int)
func (*GetContainerLogReq) GetContainerid ¶ added in v1.2.3
func (m *GetContainerLogReq) GetContainerid() string
func (*GetContainerLogReq) ProtoMessage ¶ added in v1.2.3
func (*GetContainerLogReq) ProtoMessage()
func (*GetContainerLogReq) Reset ¶ added in v1.2.3
func (m *GetContainerLogReq) Reset()
func (*GetContainerLogReq) String ¶ added in v1.2.3
func (m *GetContainerLogReq) String() string
func (*GetContainerLogReq) XXX_DiscardUnknown ¶ added in v1.2.3
func (m *GetContainerLogReq) XXX_DiscardUnknown()
func (*GetContainerLogReq) XXX_Marshal ¶ added in v1.2.3
func (m *GetContainerLogReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetContainerLogReq) XXX_Merge ¶ added in v1.2.3
func (m *GetContainerLogReq) XXX_Merge(src proto.Message)
func (*GetContainerLogReq) XXX_Size ¶ added in v1.2.3
func (m *GetContainerLogReq) XXX_Size() int
func (*GetContainerLogReq) XXX_Unmarshal ¶ added in v1.2.3
func (m *GetContainerLogReq) XXX_Unmarshal(b []byte) error
type GetContainerLogResp ¶ added in v1.2.3
type GetContainerLogResp struct { Log string `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetContainerLogResp) Descriptor ¶ added in v1.2.3
func (*GetContainerLogResp) Descriptor() ([]byte, []int)
func (*GetContainerLogResp) GetLog ¶ added in v1.2.3
func (m *GetContainerLogResp) GetLog() string
func (*GetContainerLogResp) ProtoMessage ¶ added in v1.2.3
func (*GetContainerLogResp) ProtoMessage()
func (*GetContainerLogResp) Reset ¶ added in v1.2.3
func (m *GetContainerLogResp) Reset()
func (*GetContainerLogResp) String ¶ added in v1.2.3
func (m *GetContainerLogResp) String() string
func (*GetContainerLogResp) XXX_DiscardUnknown ¶ added in v1.2.3
func (m *GetContainerLogResp) XXX_DiscardUnknown()
func (*GetContainerLogResp) XXX_Marshal ¶ added in v1.2.3
func (m *GetContainerLogResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetContainerLogResp) XXX_Merge ¶ added in v1.2.3
func (m *GetContainerLogResp) XXX_Merge(src proto.Message)
func (*GetContainerLogResp) XXX_Size ¶ added in v1.2.3
func (m *GetContainerLogResp) XXX_Size() int
func (*GetContainerLogResp) XXX_Unmarshal ¶ added in v1.2.3
func (m *GetContainerLogResp) XXX_Unmarshal(b []byte) error
type GetEventsReq ¶
type GetEventsReq struct { Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetEventsReq) Descriptor ¶
func (*GetEventsReq) Descriptor() ([]byte, []int)
func (*GetEventsReq) GetLimit ¶
func (m *GetEventsReq) GetLimit() int32
func (*GetEventsReq) GetPage ¶
func (m *GetEventsReq) GetPage() int32
func (*GetEventsReq) ProtoMessage ¶
func (*GetEventsReq) ProtoMessage()
func (*GetEventsReq) Reset ¶
func (m *GetEventsReq) Reset()
func (*GetEventsReq) String ¶
func (m *GetEventsReq) String() string
func (*GetEventsReq) XXX_DiscardUnknown ¶
func (m *GetEventsReq) XXX_DiscardUnknown()
func (*GetEventsReq) XXX_Marshal ¶
func (m *GetEventsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetEventsReq) XXX_Merge ¶
func (m *GetEventsReq) XXX_Merge(src proto.Message)
func (*GetEventsReq) XXX_Size ¶
func (m *GetEventsReq) XXX_Size() int
func (*GetEventsReq) XXX_Unmarshal ¶
func (m *GetEventsReq) XXX_Unmarshal(b []byte) error
type GetEventsResp ¶
type GetEventsResp struct { Event []*Event `protobuf:"bytes,1,rep,name=event,proto3" json:"event,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Npages int32 `protobuf:"varint,3,opt,name=npages,proto3" json:"npages,omitempty"` Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetEventsResp) Descriptor ¶
func (*GetEventsResp) Descriptor() ([]byte, []int)
func (*GetEventsResp) GetEvent ¶
func (m *GetEventsResp) GetEvent() []*Event
func (*GetEventsResp) GetNpages ¶
func (m *GetEventsResp) GetNpages() int32
func (*GetEventsResp) GetPage ¶
func (m *GetEventsResp) GetPage() int32
func (*GetEventsResp) GetTotal ¶
func (m *GetEventsResp) GetTotal() int32
func (*GetEventsResp) ProtoMessage ¶
func (*GetEventsResp) ProtoMessage()
func (*GetEventsResp) Reset ¶
func (m *GetEventsResp) Reset()
func (*GetEventsResp) String ¶
func (m *GetEventsResp) String() string
func (*GetEventsResp) XXX_DiscardUnknown ¶
func (m *GetEventsResp) XXX_DiscardUnknown()
func (*GetEventsResp) XXX_Marshal ¶
func (m *GetEventsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetEventsResp) XXX_Merge ¶
func (m *GetEventsResp) XXX_Merge(src proto.Message)
func (*GetEventsResp) XXX_Size ¶
func (m *GetEventsResp) XXX_Size() int
func (*GetEventsResp) XXX_Unmarshal ¶
func (m *GetEventsResp) XXX_Unmarshal(b []byte) error
type GetIsConfiguredReq ¶
type GetIsConfiguredReq struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetIsConfiguredReq) Descriptor ¶
func (*GetIsConfiguredReq) Descriptor() ([]byte, []int)
func (*GetIsConfiguredReq) ProtoMessage ¶
func (*GetIsConfiguredReq) ProtoMessage()
func (*GetIsConfiguredReq) Reset ¶
func (m *GetIsConfiguredReq) Reset()
func (*GetIsConfiguredReq) String ¶
func (m *GetIsConfiguredReq) String() string
func (*GetIsConfiguredReq) XXX_DiscardUnknown ¶
func (m *GetIsConfiguredReq) XXX_DiscardUnknown()
func (*GetIsConfiguredReq) XXX_Marshal ¶
func (m *GetIsConfiguredReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetIsConfiguredReq) XXX_Merge ¶
func (m *GetIsConfiguredReq) XXX_Merge(src proto.Message)
func (*GetIsConfiguredReq) XXX_Size ¶
func (m *GetIsConfiguredReq) XXX_Size() int
func (*GetIsConfiguredReq) XXX_Unmarshal ¶
func (m *GetIsConfiguredReq) XXX_Unmarshal(b []byte) error
type GetIsConfiguredResp ¶
type GetIsConfiguredResp struct { IsConfigured bool `protobuf:"varint,1,opt,name=IsConfigured,proto3" json:"IsConfigured,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetIsConfiguredResp) Descriptor ¶
func (*GetIsConfiguredResp) Descriptor() ([]byte, []int)
func (*GetIsConfiguredResp) GetIsConfigured ¶
func (m *GetIsConfiguredResp) GetIsConfigured() bool
func (*GetIsConfiguredResp) ProtoMessage ¶
func (*GetIsConfiguredResp) ProtoMessage()
func (*GetIsConfiguredResp) Reset ¶
func (m *GetIsConfiguredResp) Reset()
func (*GetIsConfiguredResp) String ¶
func (m *GetIsConfiguredResp) String() string
func (*GetIsConfiguredResp) XXX_DiscardUnknown ¶
func (m *GetIsConfiguredResp) XXX_DiscardUnknown()
func (*GetIsConfiguredResp) XXX_Marshal ¶
func (m *GetIsConfiguredResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetIsConfiguredResp) XXX_Merge ¶
func (m *GetIsConfiguredResp) XXX_Merge(src proto.Message)
func (*GetIsConfiguredResp) XXX_Size ¶
func (m *GetIsConfiguredResp) XXX_Size() int
func (*GetIsConfiguredResp) XXX_Unmarshal ¶
func (m *GetIsConfiguredResp) XXX_Unmarshal(b []byte) error
type GetSensorReportsReq ¶ added in v1.2.2
type GetSensorReportsReq struct { Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetSensorReportsReq) Descriptor ¶ added in v1.2.2
func (*GetSensorReportsReq) Descriptor() ([]byte, []int)
func (*GetSensorReportsReq) GetCount ¶ added in v1.2.2
func (m *GetSensorReportsReq) GetCount() int32
func (*GetSensorReportsReq) ProtoMessage ¶ added in v1.2.2
func (*GetSensorReportsReq) ProtoMessage()
func (*GetSensorReportsReq) Reset ¶ added in v1.2.2
func (m *GetSensorReportsReq) Reset()
func (*GetSensorReportsReq) String ¶ added in v1.2.2
func (m *GetSensorReportsReq) String() string
func (*GetSensorReportsReq) XXX_DiscardUnknown ¶ added in v1.2.2
func (m *GetSensorReportsReq) XXX_DiscardUnknown()
func (*GetSensorReportsReq) XXX_Marshal ¶ added in v1.2.2
func (m *GetSensorReportsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSensorReportsReq) XXX_Merge ¶ added in v1.2.2
func (m *GetSensorReportsReq) XXX_Merge(src proto.Message)
func (*GetSensorReportsReq) XXX_Size ¶ added in v1.2.2
func (m *GetSensorReportsReq) XXX_Size() int
func (*GetSensorReportsReq) XXX_Unmarshal ¶ added in v1.2.2
func (m *GetSensorReportsReq) XXX_Unmarshal(b []byte) error
type GetSensorReportsResp ¶ added in v1.2.2
type GetSensorReportsResp struct { Reports []*SensorReport `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetSensorReportsResp) Descriptor ¶ added in v1.2.2
func (*GetSensorReportsResp) Descriptor() ([]byte, []int)
func (*GetSensorReportsResp) GetReports ¶ added in v1.2.2
func (m *GetSensorReportsResp) GetReports() []*SensorReport
func (*GetSensorReportsResp) ProtoMessage ¶ added in v1.2.2
func (*GetSensorReportsResp) ProtoMessage()
func (*GetSensorReportsResp) Reset ¶ added in v1.2.2
func (m *GetSensorReportsResp) Reset()
func (*GetSensorReportsResp) String ¶ added in v1.2.2
func (m *GetSensorReportsResp) String() string
func (*GetSensorReportsResp) XXX_DiscardUnknown ¶ added in v1.2.2
func (m *GetSensorReportsResp) XXX_DiscardUnknown()
func (*GetSensorReportsResp) XXX_Marshal ¶ added in v1.2.2
func (m *GetSensorReportsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSensorReportsResp) XXX_Merge ¶ added in v1.2.2
func (m *GetSensorReportsResp) XXX_Merge(src proto.Message)
func (*GetSensorReportsResp) XXX_Size ¶ added in v1.2.2
func (m *GetSensorReportsResp) XXX_Size() int
func (*GetSensorReportsResp) XXX_Unmarshal ¶ added in v1.2.2
func (m *GetSensorReportsResp) XXX_Unmarshal(b []byte) error
type GetVideoEventsReq ¶
type GetVideoEventsReq struct { Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetVideoEventsReq) Descriptor ¶
func (*GetVideoEventsReq) Descriptor() ([]byte, []int)
func (*GetVideoEventsReq) GetLimit ¶
func (m *GetVideoEventsReq) GetLimit() int32
func (*GetVideoEventsReq) GetPage ¶
func (m *GetVideoEventsReq) GetPage() int32
func (*GetVideoEventsReq) ProtoMessage ¶
func (*GetVideoEventsReq) ProtoMessage()
func (*GetVideoEventsReq) Reset ¶
func (m *GetVideoEventsReq) Reset()
func (*GetVideoEventsReq) String ¶
func (m *GetVideoEventsReq) String() string
func (*GetVideoEventsReq) XXX_DiscardUnknown ¶
func (m *GetVideoEventsReq) XXX_DiscardUnknown()
func (*GetVideoEventsReq) XXX_Marshal ¶
func (m *GetVideoEventsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetVideoEventsReq) XXX_Merge ¶
func (m *GetVideoEventsReq) XXX_Merge(src proto.Message)
func (*GetVideoEventsReq) XXX_Size ¶
func (m *GetVideoEventsReq) XXX_Size() int
func (*GetVideoEventsReq) XXX_Unmarshal ¶
func (m *GetVideoEventsReq) XXX_Unmarshal(b []byte) error
type GetVideoEventsResp ¶
type GetVideoEventsResp struct { Video []*VideoEvent `protobuf:"bytes,1,rep,name=video,proto3" json:"video,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Npages int32 `protobuf:"varint,3,opt,name=npages,proto3" json:"npages,omitempty"` Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetVideoEventsResp) Descriptor ¶
func (*GetVideoEventsResp) Descriptor() ([]byte, []int)
func (*GetVideoEventsResp) GetNpages ¶
func (m *GetVideoEventsResp) GetNpages() int32
func (*GetVideoEventsResp) GetPage ¶
func (m *GetVideoEventsResp) GetPage() int32
func (*GetVideoEventsResp) GetTotal ¶
func (m *GetVideoEventsResp) GetTotal() int32
func (*GetVideoEventsResp) GetVideo ¶
func (m *GetVideoEventsResp) GetVideo() []*VideoEvent
func (*GetVideoEventsResp) ProtoMessage ¶
func (*GetVideoEventsResp) ProtoMessage()
func (*GetVideoEventsResp) Reset ¶
func (m *GetVideoEventsResp) Reset()
func (*GetVideoEventsResp) String ¶
func (m *GetVideoEventsResp) String() string
func (*GetVideoEventsResp) XXX_DiscardUnknown ¶
func (m *GetVideoEventsResp) XXX_DiscardUnknown()
func (*GetVideoEventsResp) XXX_Marshal ¶
func (m *GetVideoEventsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetVideoEventsResp) XXX_Merge ¶
func (m *GetVideoEventsResp) XXX_Merge(src proto.Message)
func (*GetVideoEventsResp) XXX_Size ¶
func (m *GetVideoEventsResp) XXX_Size() int
func (*GetVideoEventsResp) XXX_Unmarshal ¶
func (m *GetVideoEventsResp) XXX_Unmarshal(b []byte) error
type Gyroscope ¶
type Gyroscope struct { Sensor Sensor `protobuf:"varint,1,opt,name=Sensor,proto3,enum=controller.Sensor" json:"Sensor,omitempty"` Unit AngularType `protobuf:"varint,2,opt,name=Unit,proto3,enum=controller.AngularType" json:"Unit,omitempty"` X int32 `protobuf:"varint,3,opt,name=X,proto3" json:"X,omitempty"` Y int32 `protobuf:"varint,4,opt,name=Y,proto3" json:"Y,omitempty"` Z int32 `protobuf:"varint,5,opt,name=Z,proto3" json:"Z,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Gyroscopes measure angular velocity. Unit in degrees per sec or revolutions per second (rps)
func (*Gyroscope) Descriptor ¶
func (*Gyroscope) GetUnit ¶
func (m *Gyroscope) GetUnit() AngularType
func (*Gyroscope) ProtoMessage ¶
func (*Gyroscope) ProtoMessage()
func (*Gyroscope) XXX_DiscardUnknown ¶
func (m *Gyroscope) XXX_DiscardUnknown()
func (*Gyroscope) XXX_Marshal ¶
func (*Gyroscope) XXX_Unmarshal ¶
type IssueCommandReq ¶
type IssueCommandReq struct { Authtoken string `protobuf:"bytes,1,opt,name=authtoken,proto3" json:"authtoken,omitempty"` Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IssueCommandReq) Descriptor ¶
func (*IssueCommandReq) Descriptor() ([]byte, []int)
func (*IssueCommandReq) GetAuthtoken ¶
func (m *IssueCommandReq) GetAuthtoken() string
func (*IssueCommandReq) GetCommand ¶
func (m *IssueCommandReq) GetCommand() string
func (*IssueCommandReq) ProtoMessage ¶
func (*IssueCommandReq) ProtoMessage()
func (*IssueCommandReq) Reset ¶
func (m *IssueCommandReq) Reset()
func (*IssueCommandReq) String ¶
func (m *IssueCommandReq) String() string
func (*IssueCommandReq) XXX_DiscardUnknown ¶
func (m *IssueCommandReq) XXX_DiscardUnknown()
func (*IssueCommandReq) XXX_Marshal ¶
func (m *IssueCommandReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IssueCommandReq) XXX_Merge ¶
func (m *IssueCommandReq) XXX_Merge(src proto.Message)
func (*IssueCommandReq) XXX_Size ¶
func (m *IssueCommandReq) XXX_Size() int
func (*IssueCommandReq) XXX_Unmarshal ¶
func (m *IssueCommandReq) XXX_Unmarshal(b []byte) error
type IssueCommandResp ¶
type IssueCommandResp struct { Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IssueCommandResp) Descriptor ¶
func (*IssueCommandResp) Descriptor() ([]byte, []int)
func (*IssueCommandResp) GetMessage ¶
func (m *IssueCommandResp) GetMessage() string
func (*IssueCommandResp) GetStatus ¶
func (m *IssueCommandResp) GetStatus() string
func (*IssueCommandResp) ProtoMessage ¶
func (*IssueCommandResp) ProtoMessage()
func (*IssueCommandResp) Reset ¶
func (m *IssueCommandResp) Reset()
func (*IssueCommandResp) String ¶
func (m *IssueCommandResp) String() string
func (*IssueCommandResp) XXX_DiscardUnknown ¶
func (m *IssueCommandResp) XXX_DiscardUnknown()
func (*IssueCommandResp) XXX_Marshal ¶
func (m *IssueCommandResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IssueCommandResp) XXX_Merge ¶
func (m *IssueCommandResp) XXX_Merge(src proto.Message)
func (*IssueCommandResp) XXX_Size ¶
func (m *IssueCommandResp) XXX_Size() int
func (*IssueCommandResp) XXX_Unmarshal ¶
func (m *IssueCommandResp) XXX_Unmarshal(b []byte) error
type LoginReq ¶
type LoginReq struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` Authtoken string `protobuf:"bytes,3,opt,name=authtoken,proto3" json:"authtoken,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoginReq) Descriptor ¶
func (*LoginReq) GetAuthtoken ¶
func (*LoginReq) GetPassword ¶
func (*LoginReq) GetUsername ¶
func (*LoginReq) ProtoMessage ¶
func (*LoginReq) ProtoMessage()
func (*LoginReq) XXX_DiscardUnknown ¶
func (m *LoginReq) XXX_DiscardUnknown()
func (*LoginReq) XXX_Marshal ¶
func (*LoginReq) XXX_Unmarshal ¶
type LoginResp ¶
type LoginResp struct { Authtoken string `protobuf:"bytes,1,opt,name=authtoken,proto3" json:"authtoken,omitempty"` Authexpired bool `protobuf:"varint,2,opt,name=authexpired,proto3" json:"authexpired,omitempty"` Success bool `protobuf:"varint,3,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoginResp) Descriptor ¶
func (*LoginResp) GetAuthexpired ¶
func (*LoginResp) GetAuthtoken ¶
func (*LoginResp) GetMessage ¶
func (*LoginResp) GetSuccess ¶
func (*LoginResp) ProtoMessage ¶
func (*LoginResp) ProtoMessage()
func (*LoginResp) XXX_DiscardUnknown ¶
func (m *LoginResp) XXX_DiscardUnknown()
func (*LoginResp) XXX_Marshal ¶
func (*LoginResp) XXX_Unmarshal ¶
type LonLat ¶
type LonLat struct { Sensor Sensor `protobuf:"varint,1,opt,name=Sensor,proto3,enum=controller.Sensor" json:"Sensor,omitempty"` Lon float64 `protobuf:"fixed64,2,opt,name=Lon,proto3" json:"Lon,omitempty"` Lat float64 `protobuf:"fixed64,3,opt,name=Lat,proto3" json:"Lat,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LonLat) Descriptor ¶
func (*LonLat) ProtoMessage ¶
func (*LonLat) ProtoMessage()
func (*LonLat) XXX_DiscardUnknown ¶
func (m *LonLat) XXX_DiscardUnknown()
func (*LonLat) XXX_Marshal ¶
func (*LonLat) XXX_Unmarshal ¶
type LuminousIntensityType ¶
type LuminousIntensityType int32
const ( LuminousIntensityType_LUMINOUSINTENSITY_UNKNOWN LuminousIntensityType = 0 LuminousIntensityType_LUMINOUSINTENSITY_CANDELA LuminousIntensityType = 1 LuminousIntensityType_LUMINOUSINTENSITY_MILLICANDELA LuminousIntensityType = 2 )
func (LuminousIntensityType) EnumDescriptor ¶
func (LuminousIntensityType) EnumDescriptor() ([]byte, []int)
func (LuminousIntensityType) String ¶
func (x LuminousIntensityType) String() string
type MagneticFluxDensityType ¶
type MagneticFluxDensityType int32
const ( MagneticFluxDensityType_MAGNETICFLUXDENSITY_UNKNOWN MagneticFluxDensityType = 0 MagneticFluxDensityType_MAGNETICFLUXDENSITY_TESLA MagneticFluxDensityType = 1 MagneticFluxDensityType_MAGNETICFLUXDENSITY_MILLITESLA MagneticFluxDensityType = 2 )
func (MagneticFluxDensityType) EnumDescriptor ¶
func (MagneticFluxDensityType) EnumDescriptor() ([]byte, []int)
func (MagneticFluxDensityType) String ¶
func (x MagneticFluxDensityType) String() string
type Magnetometer ¶
type Magnetometer struct { Sensor Sensor `protobuf:"varint,1,opt,name=Sensor,proto3,enum=controller.Sensor" json:"Sensor,omitempty"` Unit MagneticFluxDensityType `protobuf:"varint,2,opt,name=Unit,proto3,enum=controller.MagneticFluxDensityType" json:"Unit,omitempty"` X int32 `protobuf:"varint,3,opt,name=X,proto3" json:"X,omitempty"` Y int32 `protobuf:"varint,4,opt,name=Y,proto3" json:"Y,omitempty"` Z int32 `protobuf:"varint,5,opt,name=Z,proto3" json:"Z,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Measured in microteslas
func (*Magnetometer) Descriptor ¶
func (*Magnetometer) Descriptor() ([]byte, []int)
func (*Magnetometer) GetSensor ¶
func (m *Magnetometer) GetSensor() Sensor
func (*Magnetometer) GetUnit ¶
func (m *Magnetometer) GetUnit() MagneticFluxDensityType
func (*Magnetometer) GetX ¶
func (m *Magnetometer) GetX() int32
func (*Magnetometer) GetY ¶
func (m *Magnetometer) GetY() int32
func (*Magnetometer) GetZ ¶
func (m *Magnetometer) GetZ() int32
func (*Magnetometer) ProtoMessage ¶
func (*Magnetometer) ProtoMessage()
func (*Magnetometer) Reset ¶
func (m *Magnetometer) Reset()
func (*Magnetometer) String ¶
func (m *Magnetometer) String() string
func (*Magnetometer) XXX_DiscardUnknown ¶
func (m *Magnetometer) XXX_DiscardUnknown()
func (*Magnetometer) XXX_Marshal ¶
func (m *Magnetometer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Magnetometer) XXX_Merge ¶
func (m *Magnetometer) XXX_Merge(src proto.Message)
func (*Magnetometer) XXX_Size ¶
func (m *Magnetometer) XXX_Size() int
func (*Magnetometer) XXX_Unmarshal ¶
func (m *Magnetometer) XXX_Unmarshal(b []byte) error
type Pressure ¶
type Pressure struct { Sensor Sensor `protobuf:"varint,1,opt,name=Sensor,proto3,enum=controller.Sensor" json:"Sensor,omitempty"` Unit PressureType `protobuf:"varint,2,opt,name=Unit,proto3,enum=controller.PressureType" json:"Unit,omitempty"` Pressure int32 `protobuf:"varint,3,opt,name=Pressure,proto3" json:"Pressure,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Pressure) Descriptor ¶
func (*Pressure) GetPressure ¶
func (*Pressure) GetUnit ¶
func (m *Pressure) GetUnit() PressureType
func (*Pressure) ProtoMessage ¶
func (*Pressure) ProtoMessage()
func (*Pressure) XXX_DiscardUnknown ¶
func (m *Pressure) XXX_DiscardUnknown()
func (*Pressure) XXX_Marshal ¶
func (*Pressure) XXX_Unmarshal ¶
type PressureType ¶
type PressureType int32
const ( PressureType_PRESSURE_UNKNOWN PressureType = 0 PressureType_PRESSURE_PASCAL PressureType = 1 PressureType_PRESSURE_HECTOPASCAL PressureType = 2 PressureType_PRESSURE_KILOPASCAL PressureType = 3 PressureType_PRESSURE_MEGAPASCAL PressureType = 4 PressureType_PRESSURE_MILLIBAR PressureType = 5 PressureType_PRESSURE_BAR PressureType = 6 PressureType_PRESSURE_ATMOSPHERE PressureType = 7 PressureType_PRESSURE_KILOGRAMS_PER_SQUARE_CENTIMETER PressureType = 8 PressureType_PRESSURE_POUNDS_PER_SQUARE_INCH PressureType = 9 PressureType_PRESSURE_TORR PressureType = 10 )
func (PressureType) EnumDescriptor ¶
func (PressureType) EnumDescriptor() ([]byte, []int)
func (PressureType) String ¶
func (x PressureType) String() string
type Sensor ¶
type Sensor int32
const ( Sensor_SENSOR_UNKNOWN Sensor = 0 Sensor_WITMOTION_HWT901B Sensor = 1 Sensor_GROVE_GPS_AIR530 Sensor = 2 Sensor_GROVE_HX711 Sensor = 3 Sensor_GROVE_BME280 Sensor = 4 Sensor_GROVE_SBMI088 Sensor = 5 Sensor_GROVE_MPU2950 Sensor = 6 Sensor_GROVE_GUVA_S12SD Sensor = 7 Sensor_GROVE_MCP9600 Sensor = 8 Sensor_GROVE_SI1145 Sensor = 9 Sensor_GPSD_GPS Sensor = 10 )
func (Sensor) EnumDescriptor ¶
type SensorReport ¶
type SensorReport struct { Tracker *TrackerInfo `protobuf:"bytes,1,opt,name=Tracker,proto3" json:"Tracker,omitempty"` EventId string `protobuf:"bytes,2,opt,name=EventId,proto3" json:"EventId,omitempty"` Time *Time `protobuf:"bytes,3,opt,name=Time,proto3" json:"Time,omitempty"` Accelerometer *Accelerometer `protobuf:"bytes,4,opt,name=Accelerometer,proto3" json:"Accelerometer,omitempty"` Gyroscope *Gyroscope `protobuf:"bytes,5,opt,name=Gyroscope,proto3" json:"Gyroscope,omitempty"` Angle *Angle `protobuf:"bytes,6,opt,name=Angle,proto3" json:"Angle,omitempty"` Magnetometer *Magnetometer `protobuf:"bytes,7,opt,name=Magnetometer,proto3" json:"Magnetometer,omitempty"` Pressure *Pressure `protobuf:"bytes,8,opt,name=Pressure,proto3" json:"Pressure,omitempty"` Altitude *Altitude `protobuf:"bytes,9,opt,name=Altitude,proto3" json:"Altitude,omitempty"` LonLat *LonLat `protobuf:"bytes,10,opt,name=LonLat,proto3" json:"LonLat,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SensorReport) Descriptor ¶
func (*SensorReport) Descriptor() ([]byte, []int)
func (*SensorReport) GetAccelerometer ¶
func (m *SensorReport) GetAccelerometer() *Accelerometer
func (*SensorReport) GetAltitude ¶
func (m *SensorReport) GetAltitude() *Altitude
func (*SensorReport) GetAngle ¶
func (m *SensorReport) GetAngle() *Angle
func (*SensorReport) GetEventId ¶
func (m *SensorReport) GetEventId() string
func (*SensorReport) GetGyroscope ¶
func (m *SensorReport) GetGyroscope() *Gyroscope
func (*SensorReport) GetLonLat ¶
func (m *SensorReport) GetLonLat() *LonLat
func (*SensorReport) GetMagnetometer ¶
func (m *SensorReport) GetMagnetometer() *Magnetometer
func (*SensorReport) GetPressure ¶
func (m *SensorReport) GetPressure() *Pressure
func (*SensorReport) GetTime ¶
func (m *SensorReport) GetTime() *Time
func (*SensorReport) GetTracker ¶
func (m *SensorReport) GetTracker() *TrackerInfo
func (*SensorReport) ProtoMessage ¶
func (*SensorReport) ProtoMessage()
func (*SensorReport) Reset ¶
func (m *SensorReport) Reset()
func (*SensorReport) String ¶
func (m *SensorReport) String() string
func (*SensorReport) XXX_DiscardUnknown ¶
func (m *SensorReport) XXX_DiscardUnknown()
func (*SensorReport) XXX_Marshal ¶
func (m *SensorReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SensorReport) XXX_Merge ¶
func (m *SensorReport) XXX_Merge(src proto.Message)
func (*SensorReport) XXX_Size ¶
func (m *SensorReport) XXX_Size() int
func (*SensorReport) XXX_Unmarshal ¶
func (m *SensorReport) XXX_Unmarshal(b []byte) error
type SensorReportReq ¶ added in v1.1.8
type SensorReportReq struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SensorReportReq) Descriptor ¶ added in v1.1.8
func (*SensorReportReq) Descriptor() ([]byte, []int)
func (*SensorReportReq) ProtoMessage ¶ added in v1.1.8
func (*SensorReportReq) ProtoMessage()
func (*SensorReportReq) Reset ¶ added in v1.1.8
func (m *SensorReportReq) Reset()
func (*SensorReportReq) String ¶ added in v1.1.8
func (m *SensorReportReq) String() string
func (*SensorReportReq) XXX_DiscardUnknown ¶ added in v1.1.8
func (m *SensorReportReq) XXX_DiscardUnknown()
func (*SensorReportReq) XXX_Marshal ¶ added in v1.1.8
func (m *SensorReportReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SensorReportReq) XXX_Merge ¶ added in v1.1.8
func (m *SensorReportReq) XXX_Merge(src proto.Message)
func (*SensorReportReq) XXX_Size ¶ added in v1.1.8
func (m *SensorReportReq) XXX_Size() int
func (*SensorReportReq) XXX_Unmarshal ¶ added in v1.1.8
func (m *SensorReportReq) XXX_Unmarshal(b []byte) error
type SetConfigReq ¶
type SetConfigReq struct { Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetConfigReq) Descriptor ¶
func (*SetConfigReq) Descriptor() ([]byte, []int)
func (*SetConfigReq) GetConfig ¶
func (m *SetConfigReq) GetConfig() *Config
func (*SetConfigReq) ProtoMessage ¶
func (*SetConfigReq) ProtoMessage()
func (*SetConfigReq) Reset ¶
func (m *SetConfigReq) Reset()
func (*SetConfigReq) String ¶
func (m *SetConfigReq) String() string
func (*SetConfigReq) XXX_DiscardUnknown ¶
func (m *SetConfigReq) XXX_DiscardUnknown()
func (*SetConfigReq) XXX_Marshal ¶
func (m *SetConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetConfigReq) XXX_Merge ¶
func (m *SetConfigReq) XXX_Merge(src proto.Message)
func (*SetConfigReq) XXX_Size ¶
func (m *SetConfigReq) XXX_Size() int
func (*SetConfigReq) XXX_Unmarshal ¶
func (m *SetConfigReq) XXX_Unmarshal(b []byte) error
type SetConfigResp ¶
type SetConfigResp struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetConfigResp) Descriptor ¶
func (*SetConfigResp) Descriptor() ([]byte, []int)
func (*SetConfigResp) GetMsg ¶
func (m *SetConfigResp) GetMsg() string
func (*SetConfigResp) GetStatus ¶
func (m *SetConfigResp) GetStatus() int32
func (*SetConfigResp) ProtoMessage ¶
func (*SetConfigResp) ProtoMessage()
func (*SetConfigResp) Reset ¶
func (m *SetConfigResp) Reset()
func (*SetConfigResp) String ¶
func (m *SetConfigResp) String() string
func (*SetConfigResp) XXX_DiscardUnknown ¶
func (m *SetConfigResp) XXX_DiscardUnknown()
func (*SetConfigResp) XXX_Marshal ¶
func (m *SetConfigResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetConfigResp) XXX_Merge ¶
func (m *SetConfigResp) XXX_Merge(src proto.Message)
func (*SetConfigResp) XXX_Size ¶
func (m *SetConfigResp) XXX_Size() int
func (*SetConfigResp) XXX_Unmarshal ¶
func (m *SetConfigResp) XXX_Unmarshal(b []byte) error
type StorageConfig ¶
type StorageConfig struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StorageConfig) Descriptor ¶
func (*StorageConfig) Descriptor() ([]byte, []int)
func (*StorageConfig) GetLocation ¶
func (m *StorageConfig) GetLocation() string
func (*StorageConfig) GetName ¶
func (m *StorageConfig) GetName() string
func (*StorageConfig) ProtoMessage ¶
func (*StorageConfig) ProtoMessage()
func (*StorageConfig) Reset ¶
func (m *StorageConfig) Reset()
func (*StorageConfig) String ¶
func (m *StorageConfig) String() string
func (*StorageConfig) XXX_DiscardUnknown ¶
func (m *StorageConfig) XXX_DiscardUnknown()
func (*StorageConfig) XXX_Marshal ¶
func (m *StorageConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StorageConfig) XXX_Merge ¶
func (m *StorageConfig) XXX_Merge(src proto.Message)
func (*StorageConfig) XXX_Size ¶
func (m *StorageConfig) XXX_Size() int
func (*StorageConfig) XXX_Unmarshal ¶
func (m *StorageConfig) XXX_Unmarshal(b []byte) error
type Test ¶
type Test struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Test) Descriptor ¶
func (*Test) GetMessage ¶
func (*Test) ProtoMessage ¶
func (*Test) ProtoMessage()
func (*Test) XXX_DiscardUnknown ¶
func (m *Test) XXX_DiscardUnknown()
func (*Test) XXX_Unmarshal ¶
type Time ¶
type Time struct { Sensor Sensor `protobuf:"varint,1,opt,name=sensor,proto3,enum=controller.Sensor" json:"sensor,omitempty"` Year int32 `protobuf:"varint,2,opt,name=Year,proto3" json:"Year,omitempty"` Month int32 `protobuf:"varint,3,opt,name=Month,proto3" json:"Month,omitempty"` Day int32 `protobuf:"varint,4,opt,name=Day,proto3" json:"Day,omitempty"` Hour int32 `protobuf:"varint,5,opt,name=Hour,proto3" json:"Hour,omitempty"` Minute int32 `protobuf:"varint,6,opt,name=Minute,proto3" json:"Minute,omitempty"` Second int32 `protobuf:"varint,7,opt,name=Second,proto3" json:"Second,omitempty"` Millisecond int32 `protobuf:"varint,8,opt,name=Millisecond,proto3" json:"Millisecond,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Time) Descriptor ¶
func (*Time) GetMillisecond ¶
func (*Time) ProtoMessage ¶
func (*Time) ProtoMessage()
func (*Time) XXX_DiscardUnknown ¶
func (m *Time) XXX_DiscardUnknown()
func (*Time) XXX_Unmarshal ¶
type TrackerInfo ¶
type TrackerInfo struct { Uuid string `protobuf:"bytes,1,opt,name=Uuid,proto3" json:"Uuid,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` Hostname string `protobuf:"bytes,3,opt,name=Hostname,proto3" json:"Hostname,omitempty"` IPv4Address string `protobuf:"bytes,4,opt,name=IPv4Address,proto3" json:"IPv4Address,omitempty"` Time *timestamp.Timestamp `protobuf:"bytes,5,opt,name=Time,proto3" json:"Time,omitempty"` Longitude float64 `protobuf:"fixed64,6,opt,name=Longitude,proto3" json:"Longitude,omitempty"` Latitude float64 `protobuf:"fixed64,7,opt,name=Latitude,proto3" json:"Latitude,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TrackerInfo) Descriptor ¶
func (*TrackerInfo) Descriptor() ([]byte, []int)
func (*TrackerInfo) GetHostname ¶
func (m *TrackerInfo) GetHostname() string
func (*TrackerInfo) GetIPv4Address ¶
func (m *TrackerInfo) GetIPv4Address() string
func (*TrackerInfo) GetLatitude ¶ added in v1.1.6
func (m *TrackerInfo) GetLatitude() float64
func (*TrackerInfo) GetLongitude ¶ added in v1.1.6
func (m *TrackerInfo) GetLongitude() float64
func (*TrackerInfo) GetName ¶
func (m *TrackerInfo) GetName() string
func (*TrackerInfo) GetTime ¶ added in v1.1.6
func (m *TrackerInfo) GetTime() *timestamp.Timestamp
func (*TrackerInfo) GetUuid ¶
func (m *TrackerInfo) GetUuid() string
func (*TrackerInfo) ProtoMessage ¶
func (*TrackerInfo) ProtoMessage()
func (*TrackerInfo) Reset ¶
func (m *TrackerInfo) Reset()
func (*TrackerInfo) String ¶
func (m *TrackerInfo) String() string
func (*TrackerInfo) XXX_DiscardUnknown ¶
func (m *TrackerInfo) XXX_DiscardUnknown()
func (*TrackerInfo) XXX_Marshal ¶
func (m *TrackerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TrackerInfo) XXX_Merge ¶
func (m *TrackerInfo) XXX_Merge(src proto.Message)
func (*TrackerInfo) XXX_Size ¶
func (m *TrackerInfo) XXX_Size() int
func (*TrackerInfo) XXX_Unmarshal ¶
func (m *TrackerInfo) XXX_Unmarshal(b []byte) error
type UnimplementedControllerServer ¶
type UnimplementedControllerServer struct { }
UnimplementedControllerServer can be embedded to have forward compatible implementations.
func (*UnimplementedControllerServer) GetConfig ¶
func (*UnimplementedControllerServer) GetConfig(ctx context.Context, req *GetConfigReq) (*GetConfigResp, error)
func (*UnimplementedControllerServer) GetContainerList ¶ added in v1.2.1
func (*UnimplementedControllerServer) GetContainerList(ctx context.Context, req *GetContainerListReq) (*GetContainerListResp, error)
func (*UnimplementedControllerServer) GetContainerLog ¶ added in v1.2.4
func (*UnimplementedControllerServer) GetContainerLog(ctx context.Context, req *GetContainerLogReq) (*GetContainerLogResp, error)
func (*UnimplementedControllerServer) GetEvents ¶
func (*UnimplementedControllerServer) GetEvents(ctx context.Context, req *GetEventsReq) (*GetEventsResp, error)
func (*UnimplementedControllerServer) GetIsConfigured ¶
func (*UnimplementedControllerServer) GetIsConfigured(ctx context.Context, req *GetIsConfiguredReq) (*GetIsConfiguredResp, error)
func (*UnimplementedControllerServer) GetSensorReport ¶
func (*UnimplementedControllerServer) GetSensorReport(ctx context.Context, req *SensorReportReq) (*SensorReport, error)
func (*UnimplementedControllerServer) GetSensorReports ¶ added in v1.2.1
func (*UnimplementedControllerServer) GetSensorReports(ctx context.Context, req *GetSensorReportsReq) (*GetSensorReportsResp, error)
func (*UnimplementedControllerServer) GetVideoEvents ¶
func (*UnimplementedControllerServer) GetVideoEvents(ctx context.Context, req *GetVideoEventsReq) (*GetVideoEventsResp, error)
func (*UnimplementedControllerServer) IssueCommand ¶
func (*UnimplementedControllerServer) IssueCommand(ctx context.Context, req *IssueCommandReq) (*IssueCommandResp, error)
func (*UnimplementedControllerServer) SetConfig ¶
func (*UnimplementedControllerServer) SetConfig(ctx context.Context, req *SetConfigReq) (*SetConfigResp, error)
type VideoEvent ¶
type VideoEvent struct { EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` Thumb string `protobuf:"bytes,4,opt,name=thumb,proto3" json:"thumb,omitempty"` WebUri string `protobuf:"bytes,5,opt,name=web_uri,json=webUri,proto3" json:"web_uri,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VideoEvent) Descriptor ¶
func (*VideoEvent) Descriptor() ([]byte, []int)
func (*VideoEvent) GetCreatedAt ¶
func (m *VideoEvent) GetCreatedAt() *timestamp.Timestamp
func (*VideoEvent) GetEventId ¶
func (m *VideoEvent) GetEventId() string
func (*VideoEvent) GetThumb ¶
func (m *VideoEvent) GetThumb() string
func (*VideoEvent) GetUri ¶
func (m *VideoEvent) GetUri() string
func (*VideoEvent) GetWebUri ¶ added in v1.2.0
func (m *VideoEvent) GetWebUri() string
func (*VideoEvent) ProtoMessage ¶
func (*VideoEvent) ProtoMessage()
func (*VideoEvent) Reset ¶
func (m *VideoEvent) Reset()
func (*VideoEvent) String ¶
func (m *VideoEvent) String() string
func (*VideoEvent) XXX_DiscardUnknown ¶
func (m *VideoEvent) XXX_DiscardUnknown()
func (*VideoEvent) XXX_Marshal ¶
func (m *VideoEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VideoEvent) XXX_Merge ¶
func (m *VideoEvent) XXX_Merge(src proto.Message)
func (*VideoEvent) XXX_Size ¶
func (m *VideoEvent) XXX_Size() int
func (*VideoEvent) XXX_Unmarshal ¶
func (m *VideoEvent) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.