Documentation ¶
Index ¶
- type CoverageTimes
- type CoverageTimesAttributes
- func (ct CoverageTimesAttributes) End() terra.ListValue[EndAttributes]
- func (ct CoverageTimesAttributes) InternalRef() (terra.Reference, error)
- func (ct CoverageTimesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ct CoverageTimesAttributes) InternalWithRef(ref terra.Reference) CoverageTimesAttributes
- func (ct CoverageTimesAttributes) Start() terra.ListValue[StartAttributes]
- type CoverageTimesState
- type DailySettings
- type DailySettingsAttributes
- func (ds DailySettingsAttributes) HourOfDay() terra.NumberValue
- func (ds DailySettingsAttributes) InternalRef() (terra.Reference, error)
- func (ds DailySettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ds DailySettingsAttributes) InternalWithRef(ref terra.Reference) DailySettingsAttributes
- func (ds DailySettingsAttributes) MinuteOfHour() terra.NumberValue
- type DailySettingsState
- type End
- type EndAttributes
- func (e EndAttributes) HourOfDay() terra.NumberValue
- func (e EndAttributes) InternalRef() (terra.Reference, error)
- func (e EndAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e EndAttributes) InternalWithRef(ref terra.Reference) EndAttributes
- func (e EndAttributes) MinuteOfHour() terra.NumberValue
- type EndState
- type MonthlySettings
- type MonthlySettingsAttributes
- func (ms MonthlySettingsAttributes) DayOfMonth() terra.NumberValue
- func (ms MonthlySettingsAttributes) HandOffTime() terra.ListValue[MonthlySettingsHandOffTimeAttributes]
- func (ms MonthlySettingsAttributes) InternalRef() (terra.Reference, error)
- func (ms MonthlySettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ms MonthlySettingsAttributes) InternalWithRef(ref terra.Reference) MonthlySettingsAttributes
- type MonthlySettingsHandOffTime
- type MonthlySettingsHandOffTimeAttributes
- func (hot MonthlySettingsHandOffTimeAttributes) HourOfDay() terra.NumberValue
- func (hot MonthlySettingsHandOffTimeAttributes) InternalRef() (terra.Reference, error)
- func (hot MonthlySettingsHandOffTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hot MonthlySettingsHandOffTimeAttributes) InternalWithRef(ref terra.Reference) MonthlySettingsHandOffTimeAttributes
- func (hot MonthlySettingsHandOffTimeAttributes) MinuteOfHour() terra.NumberValue
- type MonthlySettingsHandOffTimeState
- type MonthlySettingsState
- type Recurrence
- type RecurrenceAttributes
- func (r RecurrenceAttributes) DailySettings() terra.ListValue[DailySettingsAttributes]
- func (r RecurrenceAttributes) InternalRef() (terra.Reference, error)
- func (r RecurrenceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RecurrenceAttributes) InternalWithRef(ref terra.Reference) RecurrenceAttributes
- func (r RecurrenceAttributes) MonthlySettings() terra.ListValue[MonthlySettingsAttributes]
- func (r RecurrenceAttributes) NumberOfOnCalls() terra.NumberValue
- func (r RecurrenceAttributes) RecurrenceMultiplier() terra.NumberValue
- func (r RecurrenceAttributes) ShiftCoverages() terra.ListValue[ShiftCoveragesAttributes]
- func (r RecurrenceAttributes) WeeklySettings() terra.ListValue[WeeklySettingsAttributes]
- type RecurrenceState
- type ShiftCoverages
- type ShiftCoveragesAttributes
- func (sc ShiftCoveragesAttributes) CoverageTimes() terra.ListValue[CoverageTimesAttributes]
- func (sc ShiftCoveragesAttributes) InternalRef() (terra.Reference, error)
- func (sc ShiftCoveragesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc ShiftCoveragesAttributes) InternalWithRef(ref terra.Reference) ShiftCoveragesAttributes
- func (sc ShiftCoveragesAttributes) MapBlockKey() terra.StringValue
- type ShiftCoveragesState
- type Start
- type StartAttributes
- func (s StartAttributes) HourOfDay() terra.NumberValue
- func (s StartAttributes) InternalRef() (terra.Reference, error)
- func (s StartAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s StartAttributes) InternalWithRef(ref terra.Reference) StartAttributes
- func (s StartAttributes) MinuteOfHour() terra.NumberValue
- type StartState
- type WeeklySettings
- type WeeklySettingsAttributes
- func (ws WeeklySettingsAttributes) DayOfWeek() terra.StringValue
- func (ws WeeklySettingsAttributes) HandOffTime() terra.ListValue[WeeklySettingsHandOffTimeAttributes]
- func (ws WeeklySettingsAttributes) InternalRef() (terra.Reference, error)
- func (ws WeeklySettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ws WeeklySettingsAttributes) InternalWithRef(ref terra.Reference) WeeklySettingsAttributes
- type WeeklySettingsHandOffTime
- type WeeklySettingsHandOffTimeAttributes
- func (hot WeeklySettingsHandOffTimeAttributes) HourOfDay() terra.NumberValue
- func (hot WeeklySettingsHandOffTimeAttributes) InternalRef() (terra.Reference, error)
- func (hot WeeklySettingsHandOffTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hot WeeklySettingsHandOffTimeAttributes) InternalWithRef(ref terra.Reference) WeeklySettingsHandOffTimeAttributes
- func (hot WeeklySettingsHandOffTimeAttributes) MinuteOfHour() terra.NumberValue
- type WeeklySettingsHandOffTimeState
- type WeeklySettingsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoverageTimes ¶
type CoverageTimesAttributes ¶
type CoverageTimesAttributes struct {
// contains filtered or unexported fields
}
func (CoverageTimesAttributes) End ¶
func (ct CoverageTimesAttributes) End() terra.ListValue[EndAttributes]
func (CoverageTimesAttributes) InternalRef ¶
func (ct CoverageTimesAttributes) InternalRef() (terra.Reference, error)
func (CoverageTimesAttributes) InternalTokens ¶
func (ct CoverageTimesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CoverageTimesAttributes) InternalWithRef ¶
func (ct CoverageTimesAttributes) InternalWithRef(ref terra.Reference) CoverageTimesAttributes
func (CoverageTimesAttributes) Start ¶
func (ct CoverageTimesAttributes) Start() terra.ListValue[StartAttributes]
type CoverageTimesState ¶
type CoverageTimesState struct { End []EndState `json:"end"` Start []StartState `json:"start"` }
type DailySettings ¶
type DailySettings struct { // HourOfDay: number, required HourOfDay terra.NumberValue `hcl:"hour_of_day,attr" validate:"required"` // MinuteOfHour: number, required MinuteOfHour terra.NumberValue `hcl:"minute_of_hour,attr" validate:"required"` }
type DailySettingsAttributes ¶
type DailySettingsAttributes struct {
// contains filtered or unexported fields
}
func (DailySettingsAttributes) HourOfDay ¶
func (ds DailySettingsAttributes) HourOfDay() terra.NumberValue
func (DailySettingsAttributes) InternalRef ¶
func (ds DailySettingsAttributes) InternalRef() (terra.Reference, error)
func (DailySettingsAttributes) InternalTokens ¶
func (ds DailySettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DailySettingsAttributes) InternalWithRef ¶
func (ds DailySettingsAttributes) InternalWithRef(ref terra.Reference) DailySettingsAttributes
func (DailySettingsAttributes) MinuteOfHour ¶
func (ds DailySettingsAttributes) MinuteOfHour() terra.NumberValue
type DailySettingsState ¶
type End ¶
type End struct { // HourOfDay: number, required HourOfDay terra.NumberValue `hcl:"hour_of_day,attr" validate:"required"` // MinuteOfHour: number, required MinuteOfHour terra.NumberValue `hcl:"minute_of_hour,attr" validate:"required"` }
type EndAttributes ¶
type EndAttributes struct {
// contains filtered or unexported fields
}
func (EndAttributes) HourOfDay ¶
func (e EndAttributes) HourOfDay() terra.NumberValue
func (EndAttributes) InternalRef ¶
func (e EndAttributes) InternalRef() (terra.Reference, error)
func (EndAttributes) InternalTokens ¶
func (e EndAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EndAttributes) InternalWithRef ¶
func (e EndAttributes) InternalWithRef(ref terra.Reference) EndAttributes
func (EndAttributes) MinuteOfHour ¶
func (e EndAttributes) MinuteOfHour() terra.NumberValue
type MonthlySettings ¶
type MonthlySettings struct { // DayOfMonth: number, required DayOfMonth terra.NumberValue `hcl:"day_of_month,attr" validate:"required"` // MonthlySettingsHandOffTime: min=0 HandOffTime []MonthlySettingsHandOffTime `hcl:"hand_off_time,block" validate:"min=0"` }
type MonthlySettingsAttributes ¶
type MonthlySettingsAttributes struct {
// contains filtered or unexported fields
}
func (MonthlySettingsAttributes) DayOfMonth ¶
func (ms MonthlySettingsAttributes) DayOfMonth() terra.NumberValue
func (MonthlySettingsAttributes) HandOffTime ¶
func (ms MonthlySettingsAttributes) HandOffTime() terra.ListValue[MonthlySettingsHandOffTimeAttributes]
func (MonthlySettingsAttributes) InternalRef ¶
func (ms MonthlySettingsAttributes) InternalRef() (terra.Reference, error)
func (MonthlySettingsAttributes) InternalTokens ¶
func (ms MonthlySettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MonthlySettingsAttributes) InternalWithRef ¶
func (ms MonthlySettingsAttributes) InternalWithRef(ref terra.Reference) MonthlySettingsAttributes
type MonthlySettingsHandOffTime ¶
type MonthlySettingsHandOffTime struct { // HourOfDay: number, required HourOfDay terra.NumberValue `hcl:"hour_of_day,attr" validate:"required"` // MinuteOfHour: number, required MinuteOfHour terra.NumberValue `hcl:"minute_of_hour,attr" validate:"required"` }
type MonthlySettingsHandOffTimeAttributes ¶
type MonthlySettingsHandOffTimeAttributes struct {
// contains filtered or unexported fields
}
func (MonthlySettingsHandOffTimeAttributes) HourOfDay ¶
func (hot MonthlySettingsHandOffTimeAttributes) HourOfDay() terra.NumberValue
func (MonthlySettingsHandOffTimeAttributes) InternalRef ¶
func (hot MonthlySettingsHandOffTimeAttributes) InternalRef() (terra.Reference, error)
func (MonthlySettingsHandOffTimeAttributes) InternalTokens ¶
func (hot MonthlySettingsHandOffTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MonthlySettingsHandOffTimeAttributes) InternalWithRef ¶
func (hot MonthlySettingsHandOffTimeAttributes) InternalWithRef(ref terra.Reference) MonthlySettingsHandOffTimeAttributes
func (MonthlySettingsHandOffTimeAttributes) MinuteOfHour ¶
func (hot MonthlySettingsHandOffTimeAttributes) MinuteOfHour() terra.NumberValue
type MonthlySettingsState ¶
type MonthlySettingsState struct { DayOfMonth float64 `json:"day_of_month"` HandOffTime []MonthlySettingsHandOffTimeState `json:"hand_off_time"` }
type Recurrence ¶
type Recurrence struct { // NumberOfOnCalls: number, required NumberOfOnCalls terra.NumberValue `hcl:"number_of_on_calls,attr" validate:"required"` // RecurrenceMultiplier: number, required RecurrenceMultiplier terra.NumberValue `hcl:"recurrence_multiplier,attr" validate:"required"` // DailySettings: min=0 DailySettings []DailySettings `hcl:"daily_settings,block" validate:"min=0"` // MonthlySettings: min=0 MonthlySettings []MonthlySettings `hcl:"monthly_settings,block" validate:"min=0"` // ShiftCoverages: min=0 ShiftCoverages []ShiftCoverages `hcl:"shift_coverages,block" validate:"min=0"` // WeeklySettings: min=0 WeeklySettings []WeeklySettings `hcl:"weekly_settings,block" validate:"min=0"` }
type RecurrenceAttributes ¶
type RecurrenceAttributes struct {
// contains filtered or unexported fields
}
func (RecurrenceAttributes) DailySettings ¶
func (r RecurrenceAttributes) DailySettings() terra.ListValue[DailySettingsAttributes]
func (RecurrenceAttributes) InternalRef ¶
func (r RecurrenceAttributes) InternalRef() (terra.Reference, error)
func (RecurrenceAttributes) InternalTokens ¶
func (r RecurrenceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RecurrenceAttributes) InternalWithRef ¶
func (r RecurrenceAttributes) InternalWithRef(ref terra.Reference) RecurrenceAttributes
func (RecurrenceAttributes) MonthlySettings ¶
func (r RecurrenceAttributes) MonthlySettings() terra.ListValue[MonthlySettingsAttributes]
func (RecurrenceAttributes) NumberOfOnCalls ¶
func (r RecurrenceAttributes) NumberOfOnCalls() terra.NumberValue
func (RecurrenceAttributes) RecurrenceMultiplier ¶
func (r RecurrenceAttributes) RecurrenceMultiplier() terra.NumberValue
func (RecurrenceAttributes) ShiftCoverages ¶
func (r RecurrenceAttributes) ShiftCoverages() terra.ListValue[ShiftCoveragesAttributes]
func (RecurrenceAttributes) WeeklySettings ¶
func (r RecurrenceAttributes) WeeklySettings() terra.ListValue[WeeklySettingsAttributes]
type RecurrenceState ¶
type RecurrenceState struct { NumberOfOnCalls float64 `json:"number_of_on_calls"` RecurrenceMultiplier float64 `json:"recurrence_multiplier"` DailySettings []DailySettingsState `json:"daily_settings"` MonthlySettings []MonthlySettingsState `json:"monthly_settings"` ShiftCoverages []ShiftCoveragesState `json:"shift_coverages"` WeeklySettings []WeeklySettingsState `json:"weekly_settings"` }
type ShiftCoverages ¶
type ShiftCoverages struct { // MapBlockKey: string, required MapBlockKey terra.StringValue `hcl:"map_block_key,attr" validate:"required"` // CoverageTimes: min=0 CoverageTimes []CoverageTimes `hcl:"coverage_times,block" validate:"min=0"` }
type ShiftCoveragesAttributes ¶
type ShiftCoveragesAttributes struct {
// contains filtered or unexported fields
}
func (ShiftCoveragesAttributes) CoverageTimes ¶
func (sc ShiftCoveragesAttributes) CoverageTimes() terra.ListValue[CoverageTimesAttributes]
func (ShiftCoveragesAttributes) InternalRef ¶
func (sc ShiftCoveragesAttributes) InternalRef() (terra.Reference, error)
func (ShiftCoveragesAttributes) InternalTokens ¶
func (sc ShiftCoveragesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ShiftCoveragesAttributes) InternalWithRef ¶
func (sc ShiftCoveragesAttributes) InternalWithRef(ref terra.Reference) ShiftCoveragesAttributes
func (ShiftCoveragesAttributes) MapBlockKey ¶
func (sc ShiftCoveragesAttributes) MapBlockKey() terra.StringValue
type ShiftCoveragesState ¶
type ShiftCoveragesState struct { MapBlockKey string `json:"map_block_key"` CoverageTimes []CoverageTimesState `json:"coverage_times"` }
type Start ¶
type Start struct { // HourOfDay: number, required HourOfDay terra.NumberValue `hcl:"hour_of_day,attr" validate:"required"` // MinuteOfHour: number, required MinuteOfHour terra.NumberValue `hcl:"minute_of_hour,attr" validate:"required"` }
type StartAttributes ¶
type StartAttributes struct {
// contains filtered or unexported fields
}
func (StartAttributes) HourOfDay ¶
func (s StartAttributes) HourOfDay() terra.NumberValue
func (StartAttributes) InternalRef ¶
func (s StartAttributes) InternalRef() (terra.Reference, error)
func (StartAttributes) InternalTokens ¶
func (s StartAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StartAttributes) InternalWithRef ¶
func (s StartAttributes) InternalWithRef(ref terra.Reference) StartAttributes
func (StartAttributes) MinuteOfHour ¶
func (s StartAttributes) MinuteOfHour() terra.NumberValue
type StartState ¶
type WeeklySettings ¶
type WeeklySettings struct { // DayOfWeek: string, required DayOfWeek terra.StringValue `hcl:"day_of_week,attr" validate:"required"` // WeeklySettingsHandOffTime: min=0 HandOffTime []WeeklySettingsHandOffTime `hcl:"hand_off_time,block" validate:"min=0"` }
type WeeklySettingsAttributes ¶
type WeeklySettingsAttributes struct {
// contains filtered or unexported fields
}
func (WeeklySettingsAttributes) DayOfWeek ¶
func (ws WeeklySettingsAttributes) DayOfWeek() terra.StringValue
func (WeeklySettingsAttributes) HandOffTime ¶
func (ws WeeklySettingsAttributes) HandOffTime() terra.ListValue[WeeklySettingsHandOffTimeAttributes]
func (WeeklySettingsAttributes) InternalRef ¶
func (ws WeeklySettingsAttributes) InternalRef() (terra.Reference, error)
func (WeeklySettingsAttributes) InternalTokens ¶
func (ws WeeklySettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (WeeklySettingsAttributes) InternalWithRef ¶
func (ws WeeklySettingsAttributes) InternalWithRef(ref terra.Reference) WeeklySettingsAttributes
type WeeklySettingsHandOffTime ¶
type WeeklySettingsHandOffTime struct { // HourOfDay: number, required HourOfDay terra.NumberValue `hcl:"hour_of_day,attr" validate:"required"` // MinuteOfHour: number, required MinuteOfHour terra.NumberValue `hcl:"minute_of_hour,attr" validate:"required"` }
type WeeklySettingsHandOffTimeAttributes ¶
type WeeklySettingsHandOffTimeAttributes struct {
// contains filtered or unexported fields
}
func (WeeklySettingsHandOffTimeAttributes) HourOfDay ¶
func (hot WeeklySettingsHandOffTimeAttributes) HourOfDay() terra.NumberValue
func (WeeklySettingsHandOffTimeAttributes) InternalRef ¶
func (hot WeeklySettingsHandOffTimeAttributes) InternalRef() (terra.Reference, error)
func (WeeklySettingsHandOffTimeAttributes) InternalTokens ¶
func (hot WeeklySettingsHandOffTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (WeeklySettingsHandOffTimeAttributes) InternalWithRef ¶
func (hot WeeklySettingsHandOffTimeAttributes) InternalWithRef(ref terra.Reference) WeeklySettingsHandOffTimeAttributes
func (WeeklySettingsHandOffTimeAttributes) MinuteOfHour ¶
func (hot WeeklySettingsHandOffTimeAttributes) MinuteOfHour() terra.NumberValue
type WeeklySettingsState ¶
type WeeklySettingsState struct { DayOfWeek string `json:"day_of_week"` HandOffTime []WeeklySettingsHandOffTimeState `json:"hand_off_time"` }
Click to show internal directories.
Click to hide internal directories.