feat: add experimental flag (#4364)

This commit is contained in:
Garrett Delfosse
2022-10-04 19:45:00 +00:00
committed by GitHub
parent 18b282cabb
commit ffbaa93722
12 changed files with 55 additions and 9 deletions
+4 -3
View File
@@ -38,9 +38,10 @@ type Feature struct {
}
type Entitlements struct {
Features map[string]Feature `json:"features"`
Warnings []string `json:"warnings"`
HasLicense bool `json:"has_license"`
Features map[string]Feature `json:"features"`
Warnings []string `json:"warnings"`
HasLicense bool `json:"has_license"`
Experimental bool `json:"experimental"`
}
func (c *Client) Entitlements(ctx context.Context) (Entitlements, error) {