Documentation ¶
Index ¶
- Variables
- type Climate
- func (*Climate) Descriptor() ([]byte, []int)deprecated
- func (x *Climate) GetHumidity() float32
- func (x *Climate) GetMeasurement() *Measurement
- func (x *Climate) GetPressure() float32
- func (x *Climate) GetTemperatureHumidity() float32
- func (x *Climate) GetTemperaturePressure() float32
- func (*Climate) ProtoMessage()
- func (x *Climate) ProtoReflect() protoreflect.Message
- func (x *Climate) Reset()
- func (x *Climate) String() string
- type Measurement
- func (*Measurement) Descriptor() ([]byte, []int)deprecated
- func (x *Measurement) GetId() string
- func (x *Measurement) GetTime() *timestamppb.Timestamp
- func (*Measurement) ProtoMessage()
- func (x *Measurement) ProtoReflect() protoreflect.Message
- func (x *Measurement) Reset()
- func (x *Measurement) String() string
- type System
- func (*System) Descriptor() ([]byte, []int)deprecated
- func (x *System) GetCpuTemperature() float32
- func (x *System) GetDisk() *System_Disk
- func (x *System) GetLa() *System_LA
- func (x *System) GetMeasurement() *Measurement
- func (x *System) GetMemory() *System_Memory
- func (*System) ProtoMessage()
- func (x *System) ProtoReflect() protoreflect.Message
- func (x *System) Reset()
- func (x *System) String() string
- type System_Disk
- func (*System_Disk) Descriptor() ([]byte, []int)deprecated
- func (x *System_Disk) GetAvailableKb() int64
- func (x *System_Disk) GetTotalKb() int64
- func (x *System_Disk) GetUsePrct() int32
- func (x *System_Disk) GetUsedKb() int64
- func (*System_Disk) ProtoMessage()
- func (x *System_Disk) ProtoReflect() protoreflect.Message
- func (x *System_Disk) Reset()
- func (x *System_Disk) String() string
- type System_LA
- func (*System_LA) Descriptor() ([]byte, []int)deprecated
- func (x *System_LA) GetMin1() float32
- func (x *System_LA) GetMin15() float32
- func (x *System_LA) GetMin5() float32
- func (*System_LA) ProtoMessage()
- func (x *System_LA) ProtoReflect() protoreflect.Message
- func (x *System_LA) Reset()
- func (x *System_LA) String() string
- type System_Memory
- func (*System_Memory) Descriptor() ([]byte, []int)deprecated
- func (x *System_Memory) GetAvailableKb() int64
- func (x *System_Memory) GetCacheKb() int64
- func (x *System_Memory) GetFreeKb() int64
- func (x *System_Memory) GetSharedKb() int64
- func (x *System_Memory) GetTotalKb() int64
- func (x *System_Memory) GetUsedKb() int64
- func (*System_Memory) ProtoMessage()
- func (x *System_Memory) ProtoReflect() protoreflect.Message
- func (x *System_Memory) Reset()
- func (x *System_Memory) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_measurement_v1_meteo_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Climate ¶
type Climate struct { Measurement *Measurement `protobuf:"bytes,1,opt,name=measurement,proto3" json:"measurement,omitempty"` Humidity float32 `protobuf:"fixed32,2,opt,name=humidity,proto3" json:"humidity,omitempty"` Pressure float32 `protobuf:"fixed32,3,opt,name=pressure,proto3" json:"pressure,omitempty"` TemperatureHumidity float32 `protobuf:"fixed32,4,opt,name=temperature_humidity,json=temperatureHumidity,proto3" json:"temperature_humidity,omitempty"` TemperaturePressure float32 `protobuf:"fixed32,5,opt,name=temperature_pressure,json=temperaturePressure,proto3" json:"temperature_pressure,omitempty"` // contains filtered or unexported fields }
func (*Climate) Descriptor
deprecated
func (*Climate) GetHumidity ¶
func (*Climate) GetMeasurement ¶
func (x *Climate) GetMeasurement() *Measurement
func (*Climate) GetPressure ¶
func (*Climate) GetTemperatureHumidity ¶
func (*Climate) GetTemperaturePressure ¶
func (*Climate) ProtoMessage ¶
func (*Climate) ProtoMessage()
func (*Climate) ProtoReflect ¶
func (x *Climate) ProtoReflect() protoreflect.Message
type Measurement ¶
type Measurement struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"` // contains filtered or unexported fields }
func (*Measurement) Descriptor
deprecated
func (*Measurement) Descriptor() ([]byte, []int)
Deprecated: Use Measurement.ProtoReflect.Descriptor instead.
func (*Measurement) GetId ¶
func (x *Measurement) GetId() string
func (*Measurement) GetTime ¶
func (x *Measurement) GetTime() *timestamppb.Timestamp
func (*Measurement) ProtoMessage ¶
func (*Measurement) ProtoMessage()
func (*Measurement) ProtoReflect ¶
func (x *Measurement) ProtoReflect() protoreflect.Message
func (*Measurement) Reset ¶
func (x *Measurement) Reset()
func (*Measurement) String ¶
func (x *Measurement) String() string
type System ¶
type System struct { Measurement *Measurement `protobuf:"bytes,1,opt,name=measurement,proto3" json:"measurement,omitempty"` CpuTemperature float32 `protobuf:"fixed32,2,opt,name=cpu_temperature,json=cpuTemperature,proto3" json:"cpu_temperature,omitempty"` La *System_LA `protobuf:"bytes,3,opt,name=la,proto3" json:"la,omitempty"` Memory *System_Memory `protobuf:"bytes,4,opt,name=memory,proto3" json:"memory,omitempty"` Disk *System_Disk `protobuf:"bytes,5,opt,name=disk,proto3" json:"disk,omitempty"` // contains filtered or unexported fields }
func (*System) Descriptor
deprecated
func (*System) GetCpuTemperature ¶
func (*System) GetDisk ¶
func (x *System) GetDisk() *System_Disk
func (*System) GetMeasurement ¶
func (x *System) GetMeasurement() *Measurement
func (*System) GetMemory ¶
func (x *System) GetMemory() *System_Memory
func (*System) ProtoMessage ¶
func (*System) ProtoMessage()
func (*System) ProtoReflect ¶
func (x *System) ProtoReflect() protoreflect.Message
type System_Disk ¶
type System_Disk struct { TotalKb int64 `protobuf:"varint,1,opt,name=total_kb,json=totalKb,proto3" json:"total_kb,omitempty"` UsedKb int64 `protobuf:"varint,2,opt,name=used_kb,json=usedKb,proto3" json:"used_kb,omitempty"` AvailableKb int64 `protobuf:"varint,3,opt,name=available_kb,json=availableKb,proto3" json:"available_kb,omitempty"` UsePrct int32 `protobuf:"varint,4,opt,name=use_prct,json=usePrct,proto3" json:"use_prct,omitempty"` // contains filtered or unexported fields }
func (*System_Disk) Descriptor
deprecated
func (*System_Disk) Descriptor() ([]byte, []int)
Deprecated: Use System_Disk.ProtoReflect.Descriptor instead.
func (*System_Disk) GetAvailableKb ¶
func (x *System_Disk) GetAvailableKb() int64
func (*System_Disk) GetTotalKb ¶
func (x *System_Disk) GetTotalKb() int64
func (*System_Disk) GetUsePrct ¶
func (x *System_Disk) GetUsePrct() int32
func (*System_Disk) GetUsedKb ¶
func (x *System_Disk) GetUsedKb() int64
func (*System_Disk) ProtoMessage ¶
func (*System_Disk) ProtoMessage()
func (*System_Disk) ProtoReflect ¶
func (x *System_Disk) ProtoReflect() protoreflect.Message
func (*System_Disk) Reset ¶
func (x *System_Disk) Reset()
func (*System_Disk) String ¶
func (x *System_Disk) String() string
type System_LA ¶
type System_LA struct { Min1 float32 `protobuf:"fixed32,1,opt,name=min1,proto3" json:"min1,omitempty"` Min5 float32 `protobuf:"fixed32,2,opt,name=min5,proto3" json:"min5,omitempty"` Min15 float32 `protobuf:"fixed32,3,opt,name=min15,proto3" json:"min15,omitempty"` // contains filtered or unexported fields }
func (*System_LA) Descriptor
deprecated
func (*System_LA) ProtoMessage ¶
func (*System_LA) ProtoMessage()
func (*System_LA) ProtoReflect ¶
func (x *System_LA) ProtoReflect() protoreflect.Message
type System_Memory ¶
type System_Memory struct { TotalKb int64 `protobuf:"varint,1,opt,name=total_kb,json=totalKb,proto3" json:"total_kb,omitempty"` UsedKb int64 `protobuf:"varint,2,opt,name=used_kb,json=usedKb,proto3" json:"used_kb,omitempty"` FreeKb int64 `protobuf:"varint,3,opt,name=free_kb,json=freeKb,proto3" json:"free_kb,omitempty"` CacheKb int64 `protobuf:"varint,5,opt,name=cache_kb,json=cacheKb,proto3" json:"cache_kb,omitempty"` AvailableKb int64 `protobuf:"varint,6,opt,name=available_kb,json=availableKb,proto3" json:"available_kb,omitempty"` // contains filtered or unexported fields }
func (*System_Memory) Descriptor
deprecated
func (*System_Memory) Descriptor() ([]byte, []int)
Deprecated: Use System_Memory.ProtoReflect.Descriptor instead.
func (*System_Memory) GetAvailableKb ¶
func (x *System_Memory) GetAvailableKb() int64
func (*System_Memory) GetCacheKb ¶
func (x *System_Memory) GetCacheKb() int64
func (*System_Memory) GetFreeKb ¶
func (x *System_Memory) GetFreeKb() int64
func (*System_Memory) GetSharedKb ¶
func (x *System_Memory) GetSharedKb() int64
func (*System_Memory) GetTotalKb ¶
func (x *System_Memory) GetTotalKb() int64
func (*System_Memory) GetUsedKb ¶
func (x *System_Memory) GetUsedKb() int64
func (*System_Memory) ProtoMessage ¶
func (*System_Memory) ProtoMessage()
func (*System_Memory) ProtoReflect ¶
func (x *System_Memory) ProtoReflect() protoreflect.Message
func (*System_Memory) Reset ¶
func (x *System_Memory) Reset()
func (*System_Memory) String ¶
func (x *System_Memory) String() string
Click to show internal directories.
Click to hide internal directories.