Documentation ¶
Index ¶
- Constants
- func Provider() *schema.Provider
- type Client
- func (c *Client) Delete(url string, expectedStatus []int) error
- func (c *Client) Get(url string, expectedStatus []int) (interface{}, error)
- func (c *Client) GetInto(url string, expectedStatus []int, target interface{}) error
- func (c *Client) GetStatus(url string) (int, error)
- func (c *Client) Patch(url string, body interface{}, expectedStatus []int) ([]byte, error)
- func (c *Client) Post(url string, body interface{}, expectedStatus []int, target interface{}) error
- type DefaultVariations
- type JsonCustomProperty
- type JsonEnvironment
- type JsonFeatureFlag
- type JsonProject
- type JsonVariations
Constants ¶
View Source
const DEFAULT_VARIATIONS_KIND = VARIATIONS_BOOLEAN_KIND
View Source
const VARIATIONS_BOOLEAN_KIND = "boolean"
View Source
const VARIATIONS_NUMBER_KIND = "number"
View Source
const VARIATIONS_STRING_KIND = "string"
View Source
const VARIATION_DESCRIPTION_KEY = "description"
View Source
const VARIATION_NAME_KEY = "name"
View Source
const VARIATION_VALUE_KEY = "value"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
AccessToken string
}
type DefaultVariations ¶ added in v1.1.3
type JsonCustomProperty ¶
type JsonEnvironment ¶
type JsonFeatureFlag ¶
type JsonFeatureFlag struct { Name string `json:"name"` Key string `json:"key"` Description string `json:"description"` Temporary bool `json:"temporary"` IncludeInSnippet bool `json:"includeInSnippet"` VariationsKind string `json:"kind"` Variations []JsonVariations `json:"variations"` Tags []string `json:"tags"` CustomProperties map[string]JsonCustomProperty `json:"customProperties"` }
type JsonProject ¶
type JsonProject struct { Name string `json:"name"` Key string `json:"key"` Environments []JsonEnvironment `json:"environments"` }
type JsonVariations ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.