request

package
v0.0.0-...-e8c2687 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2015 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatorFunc

func CreatorFunc(
	resourceName string,
	path string,
	pathFormatter pathFormatterFn,
	makeBody makeBodyFn,
) schema.CreateFunc

func DeleterFunc

func DeleterFunc(
	resourceName string,
	path string,
	pathFormatter pathFormatterFn,
) schema.DeleteFunc

func DoRequest

func DoRequest(
	method, path string,
	prov *provider.Provider,
	bodyStruct, respStruct interface{},
	expectedCode int,
) (int, error)

func ExisterFunc

func ExisterFunc(
	resourceName string,
	path string,
	pathFormatter pathFormatterFn,
) schema.ExistsFunc

func IdPathFormatter

func IdPathFormatter(path string, d *schema.ResourceData) string

func ReaderFunc

func ReaderFunc(
	resourceName string,
	path string,
	pathFormatter pathFormatterFn,
	readBody readBodyFn,
) schema.ReadFunc

func SetAll

func SetAll(d *schema.ResourceData, data map[string]interface{}) []error

func UpdaterFunc

func UpdaterFunc(
	resourceName string,
	path string,
	pathFormatter pathFormatterFn,
	makeBody makeBodyFn,
) schema.UpdateFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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