Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScheduleEntryIter ¶
type ScheduleEntryIter struct {
// contains filtered or unexported fields
}
func NewScheduleEntryIter ¶
func NewScheduleEntryIter(scheduleName string, tz *time.Location, rsEntries []pagerduty.RenderedScheduleEntry) (*ScheduleEntryIter, error)
func (*ScheduleEntryIter) Next ¶
func (s *ScheduleEntryIter) Next() *ScheduleEntry
func (*ScheduleEntryIter) Peek ¶
func (s *ScheduleEntryIter) Peek() *ScheduleEntry
type Shift ¶
type Shift struct {
Start time.Time
End time.Time
Details map[string][]ShiftDetail
// contains filtered or unexported fields
}
func (*Shift) AddDetails ¶
func (s *Shift) AddDetails(iter *ScheduleEntryIter)
type ShiftDetail ¶
type ShiftGenerator ¶
type ShiftGenerator struct {
// contains filtered or unexported fields
}
func NewShiftGenerator ¶
Click to show internal directories.
Click to hide internal directories.