Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEnterpriseUserQuietHoursScheduleStore ¶
func NewEnterpriseUserQuietHoursScheduleStore(defaultSchedule string) (agpl.UserQuietHoursScheduleStore, error)
Types ¶
type EnterpriseTemplateScheduleStore ¶
type EnterpriseTemplateScheduleStore struct {
// UseRestartRequirement decides whether the RestartRequirement field should
// be used instead of the MaxTTL field for determining the max deadline of a
// workspace build. This value is determined by a feature flag, licensing,
// and whether a default user quiet hours schedule is set.
UseRestartRequirement atomic.Bool
}
EnterpriseTemplateScheduleStore provides an agpl.TemplateScheduleStore that has all fields implemented for enterprise customers.
func NewEnterpriseTemplateScheduleStore ¶
func NewEnterpriseTemplateScheduleStore() *EnterpriseTemplateScheduleStore
Click to show internal directories.
Click to hide internal directories.