go-feature-flag Flag Configuration
go-feature-flag flag configuration file
| Type | object |
|---|---|
| File match |
*.goff.yml
*.goff.yaml
*.goff.json
*.goff.toml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/go-feature-flag-flag-configuration/latest.json |
| Source | https://raw.githubusercontent.com/thomaspoignant/go-feature-flag/main/.schema/flag-schema.json |
Validate with Lintel
npx @lintel/lintel check
Definitions
All the variations available for this flag. You need at least 2 variations and it is a key value pair. All the variations should have the same type.
6 nested properties
Name is the name of the rule. This field is mandatory if you want to update the rule during scheduled rollout.
The query that allow to check in the evaluation context match. Note: in the defaultRule field query is ignored.
The variation name to use if the rule apply for the user. In case we have a percentage field in the config this field is ignored
Represents the percentage we should give to each variation.
Indicates that this rule is disabled.
List of rule to target a subset of the users based on the evaluation context.
Configure an update on some fields of your flag over time.
2 nested properties
Time of the start of the experimentation.
Time of the end of the experimentation.
A field containing information about your flag such as an issue tracker link a description etc...
Time of the start of the experimentation.
Time of the end of the experimentation.
3 nested properties
Name of the variation to apply.
The percentage (initial or end) for the progressive rollout.
Date is the time it starts or ends.
3 nested properties
Name of the variation to apply.
The percentage (initial or end) for the progressive rollout.
Date is the time it starts or ends.
Name of the variation to apply.
The percentage (initial or end) for the progressive rollout.
Date is the time it starts or ends.
Name is the name of the rule. This field is mandatory if you want to update the rule during scheduled rollout.
The query that allow to check in the evaluation context match. Note: in the defaultRule field query is ignored.
The variation name to use if the rule apply for the user. In case we have a percentage field in the config this field is ignored
Represents the percentage we should give to each variation.
2 nested properties
3 nested properties
Name of the variation to apply.
The percentage (initial or end) for the progressive rollout.
Date is the time it starts or ends.
3 nested properties
Name of the variation to apply.
The percentage (initial or end) for the progressive rollout.
Date is the time it starts or ends.
Indicates that this rule is disabled.
6 nested properties
Name is the name of the rule. This field is mandatory if you want to update the rule during scheduled rollout.
The query that allow to check in the evaluation context match. Note: in the defaultRule field query is ignored.
The variation name to use if the rule apply for the user. In case we have a percentage field in the config this field is ignored
Represents the percentage we should give to each variation.
Indicates that this rule is disabled.