schedule

package
v0.27.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

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

func (*EnterpriseTemplateScheduleStore) Get

Get implements agpl.TemplateScheduleStore.

func (*EnterpriseTemplateScheduleStore) Set

Set implements agpl.TemplateScheduleStore.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL