Documentation ¶
Index ¶
- func GetEnvOrDefault(k string, defaultvalue string) string
- func GetKeys(hash map[string]interface{}) []string
- func GetObjectAtKey(data map[string]interface{}, path string, debug bool) (interface{}, error)
- func GetStringAtKey(data map[string]interface{}, path string, debug bool) (string, error)
- func NewAPIClient(opt *apiClientOpt) (*api_client, error)
- func NewAPIObject(i_client *api_client, opts *apiObjectOpts) (*api_object, error)
- func Provider() *schema.Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEnvOrDefault ¶
GetEnvOrDefault is a helper function that returns the value of the
given environment variable, if one exists, or the default value
func GetObjectAtKey ¶
func GetStringAtKey ¶
Using GetObjectAtKey, this function verifies the resulting
object is either a JSON string or Number and returns it as a string
func NewAPIObject ¶
func NewAPIObject(i_client *api_client, opts *apiObjectOpts) (*api_object, error)
Make an api_object to manage a RESTful object in an API
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.