chore: add workspace actions entitlement and experiment (#7361)

* added workspace actions entitlement

* added workspace actions experiment
This commit is contained in:
Kira Pilot
2023-05-03 11:34:43 -07:00
committed by GitHub
parent 5961cf900d
commit 2e9310b203
7 changed files with 21 additions and 9 deletions

View File

@ -46,6 +46,7 @@ const (
FeatureAppearance FeatureName = "appearance"
FeatureAdvancedTemplateScheduling FeatureName = "advanced_template_scheduling"
FeatureWorkspaceProxy FeatureName = "workspace_proxy"
FeatureWorkspaceActions FeatureName = "workspace_actions"
)
// FeatureNames must be kept in-sync with the Feature enum above.
@ -61,6 +62,7 @@ var FeatureNames = []FeatureName{
FeatureAppearance,
FeatureAdvancedTemplateScheduling,
FeatureWorkspaceProxy,
FeatureWorkspaceActions,
}
// Humanize returns the feature name in a human-readable format.
@ -1668,6 +1670,9 @@ const (
// feature is not yet complete in functionality.
ExperimentMoons Experiment = "moons"
// https://github.com/coder/coder/milestone/19
ExperimentWorkspaceActions Experiment = "workspace_actions"
// Add new experiments here!
// ExperimentExample Experiment = "example"
)