Documentation ¶
Index ¶
- func GetEventData(e Event) string
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetEventName() string
- func (m *Event) GetEventTime() *EventTime
- func (m *Event) GetLocation() 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 EventTime
- func (*EventTime) Descriptor() ([]byte, []int)
- func (m *EventTime) GetActualStartingTime() *timestamp.Timestamp
- func (m *EventTime) GetDurationInSec() int32
- func (m *EventTime) GetPrecautionDurationInSec() int32
- func (*EventTime) ProtoMessage()
- func (m *EventTime) Reset()
- func (m *EventTime) String() string
- func (m *EventTime) XXX_DiscardUnknown()
- func (m *EventTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventTime) XXX_Merge(src proto.Message)
- func (m *EventTime) XXX_Size() int
- func (m *EventTime) XXX_Unmarshal(b []byte) error
- type Logger
- type Schedule
- func (*Schedule) Descriptor() ([]byte, []int)
- func (m *Schedule) GetEventsList() []*Event
- func (m *Schedule) GetID() int32
- func (*Schedule) ProtoMessage()
- func (m *Schedule) Reset()
- func (m *Schedule) String() string
- func (m *Schedule) XXX_DiscardUnknown()
- func (m *Schedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Schedule) XXX_Merge(src proto.Message)
- func (m *Schedule) XXX_Size() int
- func (m *Schedule) XXX_Unmarshal(b []byte) error
- type SchedulePrinter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEventData ¶
Types ¶
type Event ¶
type Event struct { EventName string `protobuf:"bytes,1,opt,name=EventName,proto3" json:"EventName,omitempty"` Location string `protobuf:"bytes,2,opt,name=Location,proto3" json:"Location,omitempty"` EventTime *EventTime `protobuf:"bytes,3,opt,name=EventTime,proto3" json:"EventTime,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Event) Descriptor ¶
func (*Event) GetEventName ¶
func (*Event) GetEventTime ¶
func (*Event) GetLocation ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) XXX_DiscardUnknown ¶
func (m *Event) XXX_DiscardUnknown()
func (*Event) XXX_Marshal ¶
func (*Event) XXX_Unmarshal ¶
type EventTime ¶
type EventTime struct { DurationInSec int32 `protobuf:"varint,1,opt,name=DurationInSec,proto3" json:"DurationInSec,omitempty"` PrecautionDurationInSec int32 `protobuf:"varint,2,opt,name=PrecautionDurationInSec,proto3" json:"PrecautionDurationInSec,omitempty"` ActualStartingTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=ActualStartingTime,proto3" json:"ActualStartingTime,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EventTime) Descriptor ¶
func (*EventTime) GetActualStartingTime ¶
func (*EventTime) GetDurationInSec ¶
func (*EventTime) GetPrecautionDurationInSec ¶
func (*EventTime) ProtoMessage ¶
func (*EventTime) ProtoMessage()
func (*EventTime) XXX_DiscardUnknown ¶
func (m *EventTime) XXX_DiscardUnknown()
func (*EventTime) XXX_Marshal ¶
func (*EventTime) XXX_Unmarshal ¶
type Schedule ¶
type Schedule struct { ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` EventsList []*Event `protobuf:"bytes,2,rep,name=EventsList,proto3" json:"EventsList,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func CreateDTOSchedule ¶
func (*Schedule) Descriptor ¶
func (*Schedule) GetEventsList ¶
func (*Schedule) ProtoMessage ¶
func (*Schedule) ProtoMessage()
func (*Schedule) XXX_DiscardUnknown ¶
func (m *Schedule) XXX_DiscardUnknown()
func (*Schedule) XXX_Marshal ¶
func (*Schedule) XXX_Unmarshal ¶
type SchedulePrinter ¶
type SchedulePrinter struct {
// contains filtered or unexported fields
}
func (*SchedulePrinter) Init ¶
func (schedulePrinter *SchedulePrinter) Init(logger Logger)
func (*SchedulePrinter) PrintSchedule ¶
func (schedulePrinter *SchedulePrinter) PrintSchedule(schedule Schedule)
Click to show internal directories.
Click to hide internal directories.