launchdarkly

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() *schema.Provider

Types

type Client

type Client struct {
	AccessToken string
}

func (*Client) Delete

func (c *Client) Delete(url string, expectedStatus []int) error

func (*Client) Get

func (c *Client) Get(url string, expectedStatus []int) (interface{}, error)

func (*Client) GetInto

func (c *Client) GetInto(url string, expectedStatus []int, target interface{}) error

func (*Client) GetStatus

func (c *Client) GetStatus(url string) (int, error)

func (*Client) Patch

func (c *Client) Patch(url string, body interface{}, expectedStatus []int) ([]byte, error)

func (*Client) Post

func (c *Client) Post(url string, body interface{}, expectedStatus []int) ([]byte, error)

type JsonCustomProperty

type JsonCustomProperty struct {
	Name  string   `json:"name"`
	Value []string `json:"value"`
}

type JsonEnvironment

type JsonEnvironment struct {
	Name  string `json:"name"`
	Key   string `json:"key"`
	Color string `json:"color"`
}

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"`
	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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL