Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Name ¶
type Name string
const ( // LocalSecretsOverride is an experiment to allow for secrets // to be overridden with values from a ".secrets.local" file. LocalSecretsOverride Name = "local-secrets-override" // Metrics is an experiment to enable metrics. Metrics Name = "metrics" // V2 enables the new parser and compiler. V2 Name = "v2" )
type Set ¶
type Set struct {
// contains filtered or unexported fields
}
func NewSet ¶
NewSet creates an experiment set which represents the enabled experiments within a particular run of Encore.
All errors reported by NewSet are due to unknown experiment names. The error type is of type *UnknownExperimentError.
func (*Set) StringList ¶ added in v1.14.5
type UnknownExperimentError ¶
type UnknownExperimentError struct {
Name Name
}
UnknownExperimentError is an error returned when an app tries to use an experiment that is not known to the current version of Encore.
func (*UnknownExperimentError) Error ¶
func (e *UnknownExperimentError) Error() string
Click to show internal directories.
Click to hide internal directories.