Documentation ¶
Index ¶
- Variables
- type Analysis
- func (*Analysis) Descriptor() ([]byte, []int)deprecated
- func (x *Analysis) GetCarComputeStates() []*CarComputeState
- func (x *Analysis) GetCarLaps() []*CarLaps
- func (x *Analysis) GetCarOccupancies() []*CarOccupancy
- func (x *Analysis) GetCarPits() []*CarPit
- func (x *Analysis) GetCarStints() []*CarStint
- func (x *Analysis) GetRaceGraph() []*RaceGraph
- func (x *Analysis) GetRaceOrder() []string
- func (*Analysis) ProtoMessage()
- func (x *Analysis) ProtoReflect() protoreflect.Message
- func (x *Analysis) Reset()
- func (x *Analysis) String() string
- type CarComputeState
- func (*CarComputeState) Descriptor() ([]byte, []int)deprecated
- func (x *CarComputeState) GetCarNum() string
- func (x *CarComputeState) GetCarState() v1.CarState
- func (x *CarComputeState) GetOutEncountered() float32
- func (*CarComputeState) ProtoMessage()
- func (x *CarComputeState) ProtoReflect() protoreflect.Message
- func (x *CarComputeState) Reset()
- func (x *CarComputeState) String() string
- type CarLaps
- type CarOccupancy
- func (*CarOccupancy) Descriptor() ([]byte, []int)deprecated
- func (x *CarOccupancy) GetCarClass() string
- func (x *CarOccupancy) GetCarNum() string
- func (x *CarOccupancy) GetCurrentDriverName() string
- func (x *CarOccupancy) GetDrivers() []*Driver
- func (x *CarOccupancy) GetName() string
- func (*CarOccupancy) ProtoMessage()
- func (x *CarOccupancy) ProtoReflect() protoreflect.Message
- func (x *CarOccupancy) Reset()
- func (x *CarOccupancy) String() string
- type CarPit
- func (*CarPit) Descriptor() ([]byte, []int)deprecated
- func (x *CarPit) GetCarNum() string
- func (x *CarPit) GetCurrent() *PitInfo
- func (x *CarPit) GetHistory() []*PitInfo
- func (*CarPit) ProtoMessage()
- func (x *CarPit) ProtoReflect() protoreflect.Message
- func (x *CarPit) Reset()
- func (x *CarPit) String() string
- type CarStint
- func (*CarStint) Descriptor() ([]byte, []int)deprecated
- func (x *CarStint) GetCarNum() string
- func (x *CarStint) GetCurrent() *StintInfo
- func (x *CarStint) GetHistory() []*StintInfo
- func (*CarStint) ProtoMessage()
- func (x *CarStint) ProtoReflect() protoreflect.Message
- func (x *CarStint) Reset()
- func (x *CarStint) String() string
- type Driver
- type GapInfo
- func (*GapInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GapInfo) GetCarNum() string
- func (x *GapInfo) GetGap() float32
- func (x *GapInfo) GetLapNo() int32
- func (x *GapInfo) GetPic() int32
- func (x *GapInfo) GetPos() int32
- func (*GapInfo) ProtoMessage()
- func (x *GapInfo) ProtoReflect() protoreflect.Message
- func (x *GapInfo) Reset()
- func (x *GapInfo) String() string
- type Lap
- type PitInfo
- func (*PitInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PitInfo) GetCarNum() string
- func (x *PitInfo) GetEnterTime() float32
- func (x *PitInfo) GetExitTime() float32
- func (x *PitInfo) GetIsCurrentPitstop() bool
- func (x *PitInfo) GetLaneTime() float32
- func (x *PitInfo) GetLapEnter() int32
- func (x *PitInfo) GetLapExit() int32
- func (*PitInfo) ProtoMessage()
- func (x *PitInfo) ProtoReflect() protoreflect.Message
- func (x *PitInfo) Reset()
- func (x *PitInfo) String() string
- type RaceGraph
- func (*RaceGraph) Descriptor() ([]byte, []int)deprecated
- func (x *RaceGraph) GetCarClass() string
- func (x *RaceGraph) GetGaps() []*GapInfo
- func (x *RaceGraph) GetLapNo() int32
- func (*RaceGraph) ProtoMessage()
- func (x *RaceGraph) ProtoReflect() protoreflect.Message
- func (x *RaceGraph) Reset()
- func (x *RaceGraph) String() string
- type SeatTime
- type StintInfo
- func (*StintInfo) Descriptor() ([]byte, []int)deprecated
- func (x *StintInfo) GetCarNum() string
- func (x *StintInfo) GetEnterTime() float32
- func (x *StintInfo) GetExitTime() float32
- func (x *StintInfo) GetIsCurrentStint() bool
- func (x *StintInfo) GetLapEnter() int32
- func (x *StintInfo) GetLapExit() int32
- func (x *StintInfo) GetNumLaps() int32
- func (x *StintInfo) GetStintTime() float32
- func (*StintInfo) ProtoMessage()
- func (x *StintInfo) ProtoReflect() protoreflect.Message
- func (x *StintInfo) Reset()
- func (x *StintInfo) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_testrepo_analysis_v1_analysis_proto protoreflect.FileDescriptor
View Source
var File_testrepo_analysis_v1_car_compute_state_proto protoreflect.FileDescriptor
View Source
var File_testrepo_analysis_v1_car_laps_proto protoreflect.FileDescriptor
View Source
var File_testrepo_analysis_v1_car_occupancy_proto protoreflect.FileDescriptor
View Source
var File_testrepo_analysis_v1_car_pit_proto protoreflect.FileDescriptor
View Source
var File_testrepo_analysis_v1_car_stint_proto protoreflect.FileDescriptor
View Source
var File_testrepo_analysis_v1_racegraph_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Analysis ¶
type Analysis struct { CarOccupancies []*CarOccupancy `protobuf:"bytes,1,rep,name=car_occupancies,json=carOccupancies,proto3" json:"car_occupancies,omitempty"` CarLaps []*CarLaps `protobuf:"bytes,2,rep,name=car_laps,json=carLaps,proto3" json:"car_laps,omitempty"` CarPits []*CarPit `protobuf:"bytes,3,rep,name=car_pits,json=carPits,proto3" json:"car_pits,omitempty"` CarStints []*CarStint `protobuf:"bytes,4,rep,name=car_stints,json=carStints,proto3" json:"car_stints,omitempty"` CarComputeStates []*CarComputeState `protobuf:"bytes,5,rep,name=car_compute_states,json=carComputeStates,proto3" json:"car_compute_states,omitempty"` RaceGraph []*RaceGraph `protobuf:"bytes,6,rep,name=race_graph,json=raceGraph,proto3" json:"race_graph,omitempty"` RaceOrder []string `protobuf:"bytes,7,rep,name=race_order,json=raceOrder,proto3" json:"race_order,omitempty"` // contains filtered or unexported fields }
func (*Analysis) GetCarComputeStates ¶
func (x *Analysis) GetCarComputeStates() []*CarComputeState
func (*Analysis) GetCarOccupancies ¶
func (x *Analysis) GetCarOccupancies() []*CarOccupancy
func (*Analysis) ProtoReflect ¶
func (x *Analysis) ProtoReflect() protoreflect.Message
type CarComputeState ¶
type CarComputeState struct { CarNum string `protobuf:"bytes,1,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"` CarState v1.CarState `protobuf:"varint,2,opt,name=car_state,json=carState,proto3,enum=testrepo.racestate.v1.CarState" json:"car_state,omitempty"` OutEncountered float32 `protobuf:"fixed32,3,opt,name=out_encountered,json=outEncountered,proto3" json:"out_encountered,omitempty"` // contains filtered or unexported fields }
func (*CarComputeState) Descriptor
deprecated
func (*CarComputeState) Descriptor() ([]byte, []int)
Deprecated: Use CarComputeState.ProtoReflect.Descriptor instead.
func (*CarComputeState) GetCarNum ¶
func (x *CarComputeState) GetCarNum() string
func (*CarComputeState) GetCarState ¶
func (x *CarComputeState) GetCarState() v1.CarState
func (*CarComputeState) GetOutEncountered ¶
func (x *CarComputeState) GetOutEncountered() float32
func (*CarComputeState) ProtoMessage ¶
func (*CarComputeState) ProtoMessage()
func (*CarComputeState) ProtoReflect ¶
func (x *CarComputeState) ProtoReflect() protoreflect.Message
func (*CarComputeState) Reset ¶
func (x *CarComputeState) Reset()
func (*CarComputeState) String ¶
func (x *CarComputeState) String() string
type CarLaps ¶
type CarLaps struct { CarNum string `protobuf:"bytes,1,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"` Laps []*Lap `protobuf:"bytes,2,rep,name=laps,proto3" json:"laps,omitempty"` // contains filtered or unexported fields }
CarLaps
func (*CarLaps) ProtoReflect ¶
func (x *CarLaps) ProtoReflect() protoreflect.Message
type CarOccupancy ¶
type CarOccupancy struct { // in team races this is the team name, otherwise the driver name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` CarNum string `protobuf:"bytes,2,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"` CarClass string `protobuf:"bytes,3,opt,name=car_class,json=carClass,proto3" json:"car_class,omitempty"` CurrentDriverName string `protobuf:"bytes,4,opt,name=current_driver_name,json=currentDriverName,proto3" json:"current_driver_name,omitempty"` Drivers []*Driver `protobuf:"bytes,5,rep,name=drivers,proto3" json:"drivers,omitempty"` // contains filtered or unexported fields }
CarOccupancy contains information which drivers used a specific car
func (*CarOccupancy) Descriptor
deprecated
func (*CarOccupancy) Descriptor() ([]byte, []int)
Deprecated: Use CarOccupancy.ProtoReflect.Descriptor instead.
func (*CarOccupancy) GetCarClass ¶
func (x *CarOccupancy) GetCarClass() string
func (*CarOccupancy) GetCarNum ¶
func (x *CarOccupancy) GetCarNum() string
func (*CarOccupancy) GetCurrentDriverName ¶
func (x *CarOccupancy) GetCurrentDriverName() string
func (*CarOccupancy) GetDrivers ¶
func (x *CarOccupancy) GetDrivers() []*Driver
func (*CarOccupancy) GetName ¶
func (x *CarOccupancy) GetName() string
func (*CarOccupancy) ProtoMessage ¶
func (*CarOccupancy) ProtoMessage()
func (*CarOccupancy) ProtoReflect ¶
func (x *CarOccupancy) ProtoReflect() protoreflect.Message
func (*CarOccupancy) Reset ¶
func (x *CarOccupancy) Reset()
func (*CarOccupancy) String ¶
func (x *CarOccupancy) String() string
type CarPit ¶
type CarPit struct { CarNum string `protobuf:"bytes,1,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"` Current *PitInfo `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` History []*PitInfo `protobuf:"bytes,3,rep,name=history,proto3" json:"history,omitempty"` // contains filtered or unexported fields }
CarPit
func (*CarPit) ProtoReflect ¶
func (x *CarPit) ProtoReflect() protoreflect.Message
type CarStint ¶
type CarStint struct { CarNum string `protobuf:"bytes,1,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"` Current *StintInfo `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` History []*StintInfo `protobuf:"bytes,3,rep,name=history,proto3" json:"history,omitempty"` // contains filtered or unexported fields }
CarStint
func (*CarStint) ProtoReflect ¶
func (x *CarStint) ProtoReflect() protoreflect.Message
type Driver ¶
type Driver struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` SeatTimes []*SeatTime `protobuf:"bytes,2,rep,name=seat_times,json=seatTimes,proto3" json:"seat_times,omitempty"` // contains filtered or unexported fields }
func (*Driver) ProtoReflect ¶
func (x *Driver) ProtoReflect() protoreflect.Message
type GapInfo ¶
type GapInfo struct { CarNum string `protobuf:"bytes,1,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"` LapNo int32 `protobuf:"varint,2,opt,name=lap_no,json=lapNo,proto3" json:"lap_no,omitempty"` Pos int32 `protobuf:"varint,3,opt,name=pos,proto3" json:"pos,omitempty"` Pic int32 `protobuf:"varint,4,opt,name=pic,proto3" json:"pic,omitempty"` Gap float32 `protobuf:"fixed32,5,opt,name=gap,proto3" json:"gap,omitempty"` // contains filtered or unexported fields }
func (*GapInfo) ProtoReflect ¶
func (x *GapInfo) ProtoReflect() protoreflect.Message
type Lap ¶
type Lap struct { LapNo int32 `protobuf:"varint,1,opt,name=lap_no,json=lapNo,proto3" json:"lap_no,omitempty"` LapTime float32 `protobuf:"fixed32,2,opt,name=lap_time,json=lapTime,proto3" json:"lap_time,omitempty"` // contains filtered or unexported fields }
Lap
func (*Lap) ProtoReflect ¶
func (x *Lap) ProtoReflect() protoreflect.Message
type PitInfo ¶
type PitInfo struct { CarNum string `protobuf:"bytes,1,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"` EnterTime float32 `protobuf:"fixed32,2,opt,name=enter_time,json=enterTime,proto3" json:"enter_time,omitempty"` ExitTime float32 `protobuf:"fixed32,3,opt,name=exit_time,json=exitTime,proto3" json:"exit_time,omitempty"` LapEnter int32 `protobuf:"varint,4,opt,name=lap_enter,json=lapEnter,proto3" json:"lap_enter,omitempty"` LapExit int32 `protobuf:"varint,5,opt,name=lap_exit,json=lapExit,proto3" json:"lap_exit,omitempty"` LaneTime float32 `protobuf:"fixed32,6,opt,name=lane_time,json=laneTime,proto3" json:"lane_time,omitempty"` IsCurrentPitstop bool `protobuf:"varint,7,opt,name=is_current_pitstop,json=isCurrentPitstop,proto3" json:"is_current_pitstop,omitempty"` // contains filtered or unexported fields }
func (*PitInfo) ProtoReflect ¶
func (x *PitInfo) ProtoReflect() protoreflect.Message
type RaceGraph ¶
type RaceGraph struct { LapNo int32 `protobuf:"varint,1,opt,name=lap_no,json=lapNo,proto3" json:"lap_no,omitempty"` CarClass string `protobuf:"bytes,2,opt,name=car_class,json=carClass,proto3" json:"car_class,omitempty"` Gaps []*GapInfo `protobuf:"bytes,3,rep,name=gaps,proto3" json:"gaps,omitempty"` // contains filtered or unexported fields }
func (*RaceGraph) ProtoReflect ¶
func (x *RaceGraph) ProtoReflect() protoreflect.Message
type SeatTime ¶
type SeatTime struct { EnterCarTime float32 `protobuf:"fixed32,1,opt,name=enter_car_time,json=enterCarTime,proto3" json:"enter_car_time,omitempty"` LeaveCarTime float32 `protobuf:"fixed32,2,opt,name=leave_car_time,json=leaveCarTime,proto3" json:"leave_car_time,omitempty"` // contains filtered or unexported fields }
func (*SeatTime) ProtoReflect ¶
func (x *SeatTime) ProtoReflect() protoreflect.Message
type StintInfo ¶
type StintInfo struct { CarNum string `protobuf:"bytes,1,opt,name=car_num,json=carNum,proto3" json:"car_num,omitempty"` EnterTime float32 `protobuf:"fixed32,2,opt,name=enter_time,json=enterTime,proto3" json:"enter_time,omitempty"` ExitTime float32 `protobuf:"fixed32,3,opt,name=exit_time,json=exitTime,proto3" json:"exit_time,omitempty"` LapEnter int32 `protobuf:"varint,4,opt,name=lap_enter,json=lapEnter,proto3" json:"lap_enter,omitempty"` LapExit int32 `protobuf:"varint,5,opt,name=lap_exit,json=lapExit,proto3" json:"lap_exit,omitempty"` StintTime float32 `protobuf:"fixed32,6,opt,name=stint_time,json=stintTime,proto3" json:"stint_time,omitempty"` NumLaps int32 `protobuf:"varint,7,opt,name=num_laps,json=numLaps,proto3" json:"num_laps,omitempty"` IsCurrentStint bool `protobuf:"varint,8,opt,name=is_current_stint,json=isCurrentStint,proto3" json:"is_current_stint,omitempty"` // contains filtered or unexported fields }
func (*StintInfo) ProtoReflect ¶
func (x *StintInfo) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.